summaryrefslogtreecommitdiff
path: root/views/admin/licence.phtml
diff options
context:
space:
mode:
authorRoger Rehnelt <noreply@maennchen1.de>2026-09-26 12:33:04 +0200
committerRoger Rehnelt <noreply@maennchen1.de>2026-09-26 12:33:04 +0200
commit33dcc777e6ba4e79f3848dd5bfca0b3ea7a93a03 (patch)
treebefbd38730bf7e7bd7cc65f072076af6d0186fef /views/admin/licence.phtml
parent4349e2f39f8df9863e2e3643fccb196288dd4ce2 (diff)
Backend: Lizenzseite, Kundendaten, Hilfe, Datenschutz, E-Mail-Konfiguration
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'views/admin/licence.phtml')
-rw-r--r--views/admin/licence.phtml4
1 files changed, 2 insertions, 2 deletions
diff --git a/views/admin/licence.phtml b/views/admin/licence.phtml
index c2a18ed..1c1cae0 100644
--- a/views/admin/licence.phtml
+++ b/views/admin/licence.phtml
@@ -144,7 +144,7 @@
<hr />
- <?php if (($wpsg_update_data['licence_model'] === 'enterprise' || sizeof($wpsg_update_data['domainData']) < 1) && !in_array($_SERVER['HTTP_HOST'], $wpsg_update_data['domainData'])) { ?>
+ <?php if (($wpsg_update_data['licence_model'] === 'enterprise' || sizeof((array)($wpsg_update_data['domainData'] ?? [])) < 1) && !in_array($_SERVER['HTTP_HOST'], (array)($wpsg_update_data['domainData'] ?? []))) { ?>
<p class="wpsg_message_ok"><?php echo __('Diese Domain kann noch auf Ihren Update-Zugang aktiviert werden.', 'wpsg'); ?></p>
@@ -156,7 +156,7 @@
?>" class="btn btn-primary"><?php echo __('Diese Domain registrieren', 'wpsg'); ?></a>
- <?php } else if (in_array($_SERVER['HTTP_HOST'], $wpsg_update_data['domainData'])) { ?>
+ <?php } else if (in_array($_SERVER['HTTP_HOST'], (array)($wpsg_update_data['domainData'] ?? []))) { ?>
<p class="wpsg_message_ok"><?php echo __('Diese Domain ist bereits auf diesen Schlüssel registriert.', 'wpsg'); ?></p>