diff options
author | zotlabs <mike@macgirvin.com> | 2017-10-10 19:22:24 -0700 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2017-10-10 19:22:24 -0700 |
commit | 769da564e296d9589522b9578f8974fcc7c385c5 (patch) | |
tree | 387dfced69802220e7b8913fcaa547278be1b369 /boot.php | |
parent | 09b4660c7d8d15cf2419202116199a725c7c109c (diff) | |
download | volse-hubzilla-769da564e296d9589522b9578f8974fcc7c385c5.tar.gz volse-hubzilla-769da564e296d9589522b9578f8974fcc7c385c5.tar.bz2 volse-hubzilla-769da564e296d9589522b9578f8974fcc7c385c5.zip |
re-order the navbar preferences - 1. profile_uid, 2. local_channel, 3, site, 4 'default'
Diffstat (limited to 'boot.php')
-rwxr-xr-x | boot.php | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -2090,9 +2090,11 @@ function construct_page() { $installing = false; + $uid = ((App::$profile_uid) ? App::$profile_uid : local_channel()); + $navbar = get_config('system','navbar','default'); - if(App::$profile_uid) { - $navbar = get_pconfig(App::$profile_uid,'system','navbar',$navbar); + if($uid) { + $navbar = get_pconfig($uid,'system','navbar',$navbar); } if($comanche && App::$layout['navbar']) { |