From 8916fd40e2a1475cd92607f4ff40178798e9304e Mon Sep 17 00:00:00 2001 From: jlbeer Date: Tue, 15 Sep 2026 13:19:51 +0200 Subject: - Deprecated "version" Fehler behoben - Kampagnen Fehler mit Bestellstatus behoben --- views/admin/modulelist.phtml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'views/admin') diff --git a/views/admin/modulelist.phtml b/views/admin/modulelist.phtml index 537ff78..9704987 100644 --- a/views/admin/modulelist.phtml +++ b/views/admin/modulelist.phtml @@ -38,6 +38,8 @@ $modul_info) { ?> + vor PHP-8-Warnungen und version_compare()-Deprecations schuetzen. */ ?> + shop->hasModInstalled($modul_key) ? ($this->shop->arAllModule[$modul_key]->version ?? '') : ''); ?> '.__('aktuell', 'wpsg').''; @@ -127,7 +129,7 @@ echo ' - '.__('neue Version verfügbar', 'wpsg').'
'.wpsg_translate(__('wpShopGermany Update notwendig', 'wpsg'), WPSG_URL_WP.'wp-admin/plugins.php'); } - else if ($this->shop->hasModInstalled($modul_key) && version_compare($modul_info['version'], $this->shop->arAllModule[$modul_key]->version) > 0) + else if ($this->shop->hasModInstalled($modul_key) && version_compare($modul_info['version'], $modul_version_installed) > 0) { echo ' - '.__('neue Version verfügbar', 'wpsg').''; -- cgit v1.2.3