Commit 769da564 authored by Zot's avatar Zot
Browse files

re-order the navbar preferences - 1. profile_uid, 2. local_channel, 3, site, 4 'default'

parent 09b4660c
......@@ -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']) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment