aboutsummaryrefslogtreecommitdiffstats
path: root/boot.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2021-03-10 11:14:03 +0000
committerMario <mario@mariovavti.com>2021-03-10 11:14:03 +0000
commitc8050ea86587b460769a32be5c55a91fb91c2414 (patch)
tree1579f58a6065e73ddf5dbbefedcc4d8e0bca9e08 /boot.php
parent15faf01ec960fff88a1f9c83fb6d251319cecea7 (diff)
parent11d831e4d7bd4163ea518892f541252ce1acea2e (diff)
downloadvolse-hubzilla-c8050ea86587b460769a32be5c55a91fb91c2414.tar.gz
volse-hubzilla-c8050ea86587b460769a32be5c55a91fb91c2414.tar.bz2
volse-hubzilla-c8050ea86587b460769a32be5c55a91fb91c2414.zip
Merge branch 'php8fixes' into 'dev'
More PHP 8 fixes See merge request hubzilla/core!1923
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);
}