diff options
-rw-r--r-- | include/identity.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/identity.php b/include/identity.php index d26eced2c..bfdd02682 100644 --- a/include/identity.php +++ b/include/identity.php @@ -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 |