Bernd Wurst commited on 2012-03-19 13:49:43
Zeige 3 geänderte Dateien mit 4 Einfügungen und 2 Löschungen.
... | ... |
@@ -14,7 +14,7 @@ http://creativecommons.org/publicdomain/zero/1.0/ |
14 | 14 |
Nevertheless, in case you use a significant part of this code, we ask (but not require, see the license) that you keep the authors' names in place and return your changes to the public. We would be especially happy if you tell us what you're going to do with this code. |
15 | 15 |
*/ |
16 | 16 |
|
17 |
-require_role(ROLE_SYSTEMUSER | ROLE_CUSTOMER); |
|
17 |
+require_role(ROLE_SYSTEMUSER); |
|
18 | 18 |
require_once("inc/base.php"); |
19 | 19 |
require_once("inc/security.php"); |
20 | 20 |
require_once("inc/debug.php"); |
... | ... |
@@ -16,7 +16,7 @@ Nevertheless, in case you use a significant part of this code, we ask (but not r |
16 | 16 |
|
17 | 17 |
$role = $_SESSION['role']; |
18 | 18 |
|
19 |
-if ($role & ROLE_SYSTEMUSER && $role & ROLE_CUSTOMER) { |
|
19 |
+if ($role & ROLE_SYSTEMUSER) { |
|
20 | 20 |
$menu["subusers_subusers"] = array("label" => "Zusätzliche Admins", "file" => "subusers", "weight" => 1, "submenu" => "systemuser_account"); |
21 | 21 |
//$menu["subusers_subusers"] = array("label" => "Zusätzliche Admins", "file" => "subusers", "weight" => 1); |
22 | 22 |
} |