summaryrefslogtreecommitdiff
path: root/views/admin/licence.phtml
diff options
context:
space:
mode:
authorDaniel Schmitzer <noreply@maennchen1.de>2019-12-04 06:15:52 +0000
committerDaniel Schmitzer <noreply@maennchen1.de>2019-12-04 06:15:52 +0000
commit6c4a661e24a086f83af7f14e774433e7e249f977 (patch)
tree370a33a703ee52eb016c15cf4599916e31652ea2 /views/admin/licence.phtml
parent72b6021e0cf9709bd9e1f8facb4a421a1bb47068 (diff)
- Bugfix: Es wird nicht mehr in der Lizenzverwaltung "Es ist eine neue Version verfügbar" angezeigt wenn noch keine Version des Moduls installiert ist
git-svn-id: https://[internal]/wordpress/plugins/wpsg4@7632 0d5edaf7-2b12-4e95-93f4-047927463d4b
Diffstat (limited to 'views/admin/licence.phtml')
-rw-r--r--views/admin/licence.phtml6
1 files changed, 5 insertions, 1 deletions
diff --git a/views/admin/licence.phtml b/views/admin/licence.phtml
index 351c3ff..5d3768d 100644
--- a/views/admin/licence.phtml
+++ b/views/admin/licence.phtml
@@ -253,8 +253,12 @@
}
else if (version_compare($modul_info['version'], $this->shop->arAllModule[$modul_key]->version) > 0)
{
+
+ if ($this->shop->arAllModule[$modul_key]->version !== null) {
- echo ' - <strong class="wpsg_error">'.__('neue Version verfügbar', 'wpsg').'</strong>';
+ echo ' - <strong class="wpsg_error">'.__('neue Version verfügbar', 'wpsg').'</strong>';
+
+ }
if ($modul_info['active'] === true)
{