]> git.mxchange.org Git - friendica.git/blobdiff - mod/network.php
From Tobias H - catch some irregularities caused by cut/paste code
[friendica.git] / mod / network.php
index 03a671b6157d51dc7939dfbfa024eb6ca9bf7fe2..894ac48ed67e3554d7265841b27f5a34b7540ad5 100755 (executable)
@@ -263,7 +263,7 @@ function network_content(&$a, $update = 0) {
                $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),