Browse code

fix warning about undeclared variable

Bernd Wurst authored on23/10/2019 11:33:54
Showing1 changed files
... ...
@@ -23,7 +23,7 @@ require_role(ROLE_SYSTEMUSER);
23 23
 require_once('dnsinclude.php');
24 24
 
25 25
 
26
-$domains = get_domain_list($_SESSION['customerinfo']['customerno'], $_SESSION['userinfo']['uid']);
26
+$domains = get_domain_list((isset($_SESSION['customerinfo']['customerno']) ? $_SESSION['customerinfo']['customerno'] : null), $_SESSION['userinfo']['uid']);
27 27
 
28 28
 title('DNS-Records');
29 29
 output('<p>Hier sehen Sie eine Übersicht über die angelegten DNS-records zu Ihren Domains.</p>');