diff options
author | zotlabs <mike@macgirvin.com> | 2017-10-11 15:13:57 -0700 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2017-10-11 15:13:57 -0700 |
commit | 48d2b3afa88feefa4718803408e289af6379dffe (patch) | |
tree | 405481302fc6a7b2054c713865d67541cb32b46e /boot.php | |
parent | f273815d8ff45a28b36bd5121c58422dfc28d0ff (diff) | |
parent | 56a675f713f3e971b1c9ccb60ab818f583dfc29e (diff) | |
download | volse-hubzilla-48d2b3afa88feefa4718803408e289af6379dffe.tar.gz volse-hubzilla-48d2b3afa88feefa4718803408e289af6379dffe.tar.bz2 volse-hubzilla-48d2b3afa88feefa4718803408e289af6379dffe.zip |
Merge branch 'dev' of https://github.com/redmatrix/hubzilla into dev_merge
Diffstat (limited to 'boot.php')
-rwxr-xr-x | boot.php | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -2090,9 +2090,11 @@ function construct_page() { $installing = false; - $navbar = get_config('system','navbar','nav'); - if(App::$profile_uid) { - $navbar = get_pconfig(App::$profile_uid,'system','navbar',$navbar); + $uid = ((App::$profile_uid) ? App::$profile_uid : local_channel()); + + $navbar = get_config('system','navbar','default'); + if($uid) { + $navbar = get_pconfig($uid,'system','navbar',$navbar); } if($comanche && App::$layout['navbar']) { |