Revision 1042
Added by aldus over 15 years ago
get_permissions.php | ||
---|---|---|
61 | 61 |
$system_permissions['settings'] = $admin->get_post('settings'); |
62 | 62 |
$system_permissions['settings_basic'] = $system_permissions['settings']; |
63 | 63 |
$system_permissions['settings_advanced'] = $system_permissions['settings']; |
64 |
if($admin->get_post('users') != '' AND $admin->get_post('groups') != '') {
|
|
64 |
if($admin->get_post('users') != '' OR $admin->get_post('groups') != '') {
|
|
65 | 65 |
$system_permissions['access'] = 1; |
66 | 66 |
} else { |
67 | 67 |
$system_permissions['access'] = 0; |
Also available in: Unified diff
Bugfix inside get_permissions.php - replacing worng "and" with "or" in line 64 (see also 178) for "user" and "groups" - so a user can e.g. edit other users, but no groups - vice versa; not both or none.