aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorThomas Willingham <beardyunixer@beardyunixer.com>2014-09-29 19:12:12 +0100
committerThomas Willingham <beardyunixer@beardyunixer.com>2014-09-29 19:12:12 +0100
commit7c3b428e670ec3508f821a95568ba1248ce33616 (patch)
tree7210ebb4355561ea72f155b666bdaf3b367088cd /include
parent90378e8ef8647807a348541a65a908da6656ce1b (diff)
parent43d2a8ceae87d9c39f543e9f4dd07566db325e62 (diff)
downloadvolse-hubzilla-7c3b428e670ec3508f821a95568ba1248ce33616.tar.gz
volse-hubzilla-7c3b428e670ec3508f821a95568ba1248ce33616.tar.bz2
volse-hubzilla-7c3b428e670ec3508f821a95568ba1248ce33616.zip
Merge branch 'master' of https://github.com/friendica/red
Diffstat (limited to 'include')
-rw-r--r--include/identity.php2
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