Typo in regex causes runtime error
This commit is contained in:
parent
04e460c8f8
commit
c0b59ae36a
@ -364,7 +364,7 @@ function create_identity($arr) {
|
||||
if($role_permissions) {
|
||||
set_pconfig($newuid,'system','permissions_role',$arr['permissions_role']);
|
||||
if(array_key_exists('online',$role_permissions))
|
||||
set_pconfig('system','hide_presence',1-intval($role_permissions['online']));
|
||||
set_pconfig($newuid,'system','hide_presence',1-intval($role_permissions['online']));
|
||||
}
|
||||
|
||||
// Create a group with yourself as a member. This allows somebody to use it
|
||||
|
Reference in New Issue
Block a user