aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhabeascodice <habeascodice@federated.social>2014-09-28 19:30:47 -0700
committerhabeascodice <habeascodice@federated.social>2014-09-28 19:30:47 -0700
commitc0b59ae36a5ef31b9071edb991f63d4800e21a9d (patch)
treeb4932f633f7e146f7d2acf9f70db0d62242e0b17
parent04e460c8f8915be3b7911bf0b9c9c0bcd8703e25 (diff)
downloadvolse-hubzilla-c0b59ae36a5ef31b9071edb991f63d4800e21a9d.tar.gz
volse-hubzilla-c0b59ae36a5ef31b9071edb991f63d4800e21a9d.tar.bz2
volse-hubzilla-c0b59ae36a5ef31b9071edb991f63d4800e21a9d.zip
Typo in regex causes runtime error
-rw-r--r--include/identity.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/identity.php b/include/identity.php
index eaeb9f07f..b99bbe9c9 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