aboutsummaryrefslogtreecommitdiffstats
path: root/boot.php
diff options
context:
space:
mode:
authorMax Kostikov <max@kostikov.co>2021-03-10 19:41:46 +0000
committerMax Kostikov <max@kostikov.co>2021-03-10 19:41:46 +0000
commitb729cee9e4aaf908d28835341171311532ae05d6 (patch)
treef47ec7020c314c9101d4ddceb222b608166d4825 /boot.php
parent15b45af550cb59013cbf915c63635fdf03cdd73e (diff)
parent15bc5c64f3f4c3226e6329f8b8aa73df4aeb5e0b (diff)
downloadvolse-hubzilla-b729cee9e4aaf908d28835341171311532ae05d6.tar.gz
volse-hubzilla-b729cee9e4aaf908d28835341171311532ae05d6.tar.bz2
volse-hubzilla-b729cee9e4aaf908d28835341171311532ae05d6.zip
Merge branch 'dev' into 'dev'
Dev sync See merge request kostikov/core!1
Diffstat (limited to 'boot.php')
-rw-r--r--boot.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/boot.php b/boot.php
index 520cf464a..ec79b3dce 100644
--- a/boot.php
+++ b/boot.php
@@ -2316,13 +2316,14 @@ function construct_page() {
$navbar = get_pconfig($uid,'system','navbar',$navbar);
}
- if($comanche && App::$layout['navbar']) {
+ if($comanche && isset(App::$layout['navbar'])) {
$navbar = App::$layout['navbar'];
}
if (App::$module == 'setup') {
$installing = true;
- } else {
+ }
+ else {
nav($navbar);
}