From 849fbd4f6aab6bf9bd3467719b683ee657c5f93d Mon Sep 17 00:00:00 2001 From: Daniel Schmitzer Date: Tue, 26 Sep 2017 08:25:10 +0000 Subject: - git-svn-id: https://[internal]/wordpress/plugins/wpsg4@6534 0d5edaf7-2b12-4e95-93f4-047927463d4b --- views/admin/modulelist.phtml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'views/admin/modulelist.phtml') 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 ' - '.__('aktuell', 'wpsg').''; } - 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 ' - '.__('neue Version verfügbar', 'wpsg').'
'.wpsg_translate(__('wpShopGermany Update 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 ' - '.__('neue Version verfügbar', 'wpsg').''; -- cgit v1.2.3