aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorRedMatrix <info@friendica.com>2014-09-29 13:08:56 +1000
committerRedMatrix <info@friendica.com>2014-09-29 13:08:56 +1000
commit6370713cc189a26db7a319c588158b4f05f61b35 (patch)
tree008b73b3a2c9c649cc3492113534a6cfe3731e7e /include
parente18dfbe3ce0a8d89a5320e4f239801d0b84dd83e (diff)
parentc07643e407aab16ecabfdf5f641166583e02ec36 (diff)
downloadvolse-hubzilla-6370713cc189a26db7a319c588158b4f05f61b35.tar.gz
volse-hubzilla-6370713cc189a26db7a319c588158b4f05f61b35.tar.bz2
volse-hubzilla-6370713cc189a26db7a319c588158b4f05f61b35.zip
Merge pull request #605 from habeascodice/master
2 minor bug-fixes, a line of docu, and a call_hooks() hook
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