aboutsummaryrefslogtreecommitdiffstats
path: root/boot.php
diff options
context:
space:
mode:
authorMax Kostikov <max@kostikov.co>2021-03-10 11:14:02 +0000
committerMario <mario@mariovavti.com>2021-03-10 11:14:02 +0000
commit11d831e4d7bd4163ea518892f541252ce1acea2e (patch)
tree2971e2626503b972b5051d6f26689166e07f4d4c /boot.php
parent7ee495624e71125074a4eb9f5533a7af2db2f6b6 (diff)
downloadvolse-hubzilla-11d831e4d7bd4163ea518892f541252ce1acea2e.tar.gz
volse-hubzilla-11d831e4d7bd4163ea518892f541252ce1acea2e.tar.bz2
volse-hubzilla-11d831e4d7bd4163ea518892f541252ce1acea2e.zip
More PHP 8 fixes
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);
}