summaryrefslogtreecommitdiff
path: root/views/admin/modulelist.phtml
diff options
context:
space:
mode:
authorDaniel Schmitzer <noreply@maennchen1.de>2017-09-26 08:25:10 +0000
committerDaniel Schmitzer <noreply@maennchen1.de>2017-09-26 08:25:10 +0000
commit849fbd4f6aab6bf9bd3467719b683ee657c5f93d (patch)
tree2ea425e86707394199149b5e0ecae1d8fe7adaa5 /views/admin/modulelist.phtml
parentb04cc2c568cebdaabaadacc679b8004f47256848 (diff)
-
git-svn-id: https://[internal]/wordpress/plugins/wpsg4@6534 0d5edaf7-2b12-4e95-93f4-047927463d4b
Diffstat (limited to 'views/admin/modulelist.phtml')
-rw-r--r--views/admin/modulelist.phtml4
1 files changed, 2 insertions, 2 deletions
diff --git a/views/admin/modulelist.phtml b/views/admin/modulelist.phtml
index b91963c..0a63e08 100644
--- a/views/admin/modulelist.phtml
+++ b/views/admin/modulelist.phtml
@@ -115,13 +115,13 @@
echo ' - <strong class="wpsg_message_ok">'.__('aktuell', 'wpsg').'</strong>';
}
- else if (version_compare($modul_info['version'], WPSG_VERSION) > 0)
+ else if ($this->shop->hasModInstalled($modul_key) && version_compare($modul_info['version'], WPSG_VERSION) > 0)
{
echo ' - <strong class="wpsg_error">'.__('neue Version verfügbar', 'wpsg').'</strong><br />'.wpsg_translate(__('<a href="#1#">wpShopGermany Update</a> notwendig', 'wpsg'), WPSG_URL_WP.'wp-admin/plugins.php');
}
- else if (version_compare($modul_info['version'], $this->shop->arAllModule[$modul_key]->version) > 0)
+ else if ($this->shop->hasModInstalled($modul_key) && version_compare($modul_info['version'], $this->shop->arAllModule[$modul_key]->version) > 0)
{
echo ' - <strong class="wpsg_error">'.__('neue Version verfügbar', 'wpsg').'</strong>';