Browse code

Bugfix: Domains von anderem Useraccount wurden nicht mehr angezeigt

Bernd Wurst authored on27/07/2019 17:16:20
Showing1 changed files
... ...
@@ -23,7 +23,7 @@ require_once('domains.php');
23 23
 
24 24
 require_role(array(ROLE_SYSTEMUSER, ROLE_CUSTOMER));
25 25
 
26
-if (have_role(ROLE_CUSTOMER) && !have_role(ROLE_SYSTEMUSER)) {
26
+if (have_role(ROLE_CUSTOMER)) {
27 27
     $user_domains = get_domain_list($_SESSION['customerinfo']['customerno']);
28 28
 } else {
29 29
     $user_domains = get_domain_list($_SESSION['userinfo']['customerno'], $_SESSION['userinfo']['uid']);