aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Lib
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2022-10-26 17:56:04 +0200
committerMario Vavti <mario@mariovavti.com>2022-10-26 17:56:04 +0200
commit9e95f189ed3d5b228b8133f04f66aca6de75b1ab (patch)
tree4e912a3ef58994e05e5b10f6f808bfe4c824366b /Zotlabs/Lib
parent221b31bcc6f16510c0f242e96ac696b2dd0eca58 (diff)
downloadvolse-hubzilla-9e95f189ed3d5b228b8133f04f66aca6de75b1ab.tar.gz
volse-hubzilla-9e95f189ed3d5b228b8133f04f66aca6de75b1ab.tar.bz2
volse-hubzilla-9e95f189ed3d5b228b8133f04f66aca6de75b1ab.zip
fix php warnings
Diffstat (limited to 'Zotlabs/Lib')
-rw-r--r--Zotlabs/Lib/Libzot.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Lib/Libzot.php b/Zotlabs/Lib/Libzot.php
index 93979baf3..cbb614429 100644
--- a/Zotlabs/Lib/Libzot.php
+++ b/Zotlabs/Lib/Libzot.php
@@ -714,7 +714,7 @@ class Libzot {
$dirmode = get_config('system', 'directory_mode');
- if ((($arr['site']['directory_mode'] === 'standalone') || ($dirmode & DIRECTORY_MODE_STANDALONE)) && ($arr['site']['url'] != z_root()))
+ if (((isset($arr['site']['directory_mode']) && $arr['site']['directory_mode'] === 'standalone') || ($dirmode & DIRECTORY_MODE_STANDALONE)) && ($arr['site']['url'] != z_root()))
$arr['searchable'] = false;
$hidden = (1 - intval($arr['searchable']));