summaryrefslogtreecommitdiff
path: root/views/admin/modulelist.phtml
diff options
context:
space:
mode:
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>';