diff options
author | friendica <info@friendica.com> | 2013-05-28 17:16:16 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2013-05-28 17:16:16 -0700 |
commit | 0daaf35ff8cc863ad95d68302fb14dbcea740374 (patch) | |
tree | 8af0d6c4b2836e4b38bb831b592b661ca26c05c9 /mod/network.php | |
parent | 6bb35832674e35aa4505cd636b6f42c6d0a1a7f4 (diff) | |
download | volse-hubzilla-0daaf35ff8cc863ad95d68302fb14dbcea740374.tar.gz volse-hubzilla-0daaf35ff8cc863ad95d68302fb14dbcea740374.tar.bz2 volse-hubzilla-0daaf35ff8cc863ad95d68302fb14dbcea740374.zip |
fix location setting stuff
Diffstat (limited to 'mod/network.php')
-rw-r--r-- | mod/network.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/network.php b/mod/network.php index ca55d9e23..bbd9f9de7 100644 --- a/mod/network.php +++ b/mod/network.php @@ -403,7 +403,7 @@ function network_content(&$a, $update = 0, $load = false) { $x = array( 'is_owner' => true, - 'allow_location' => $a->user['allow_location'], // FIXME + 'allow_location' => ((intval(get_pconfig($channel['channel_id'],'system','use_browser_location'))) ? '1' : ''), 'default_location' => $channel['channel_location'], 'nickname' => $channel['channel_address'], 'lockstate' => (($group || $cid || $channel['channel_allow_cid'] || $channel['channel_allow_gid'] || $channel['channel_deny_cid'] || $channel['channel_deny_gid']) ? 'lock' : 'unlock'), |