aboutsummaryrefslogtreecommitdiffstats
path: root/mod/display.php
diff options
context:
space:
mode:
authorSimon L'nu <simon.lnu@gmail.com>2012-02-29 06:56:59 -0500
committerSimon L'nu <simon.lnu@gmail.com>2012-02-29 06:56:59 -0500
commit68554741465e92fe2e462b8de4470ddd0eb91302 (patch)
tree97fe9b7eb83b696688f3eec9cffb4dc57d2a0901 /mod/display.php
parent21d1dc48a8e83e55c55d894f85b742ef667553d7 (diff)
parentfb33b4f2bcd18e63d311e6dba3aaa2ea5efdec3b (diff)
downloadvolse-hubzilla-68554741465e92fe2e462b8de4470ddd0eb91302.tar.gz
volse-hubzilla-68554741465e92fe2e462b8de4470ddd0eb91302.tar.bz2
volse-hubzilla-68554741465e92fe2e462b8de4470ddd0eb91302.zip
Merge branch 'master', remote-tracking branch 'remotes/upstream/master'
* remotes/upstream/master: Update LICENSE Update README cleaned up mess created when both people request friendship and one approves as duplex call time pass by reference deprecated From Tobias H - catch some irregularities caused by cut/paste code * master:
Diffstat (limited to 'mod/display.php')
-rwxr-xr-xmod/display.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/mod/display.php b/mod/display.php
index d96be4333..f510f793d 100755
--- a/mod/display.php
+++ b/mod/display.php
@@ -74,11 +74,11 @@ function display_content(&$a) {
$x = array(
'is_owner' => true,
'allow_location' => $a->user['allow_location'],
- 'default_location' => $a->user['default_location'],
+ 'default_location' => $a->user['default-location'],
'nickname' => $a->user['nickname'],
- 'lockstate' => ((($group) || (is_array($a->user) && ((strlen($a->user['allow_cid'])) || (strlen($a->user['allow_gid'])) || (strlen($a->user['deny_cid'])) || (strlen($a->user['deny_gid']))))) ? 'lock' : 'unlock'),
- 'acl' => populate_acl((($group || $cid) ? $def_acl : $a->user), $celeb),
- 'bang' => (($group || $cid) ? '!' : ''),
+ 'lockstate' => ( (is_array($a->user)) && ((strlen($a->user['allow_cid'])) || (strlen($a->user['allow_gid'])) || (strlen($a->user['deny_cid'])) || (strlen($a->user['deny_gid']))) ? 'lock' : 'unlock'),
+ 'acl' => populate_acl($a->user, $celeb),
+ 'bang' => '',
'visitor' => 'block',
'profile_uid' => local_user()
);