aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2023-05-03 08:47:21 +0000
committerMario <mario@mariovavti.com>2023-05-03 08:47:21 +0000
commitdf420361000a33f3e6f6982954c21a1c7a3168cf (patch)
tree3e3b4f5f2d232ef4dd79a5da2751231c4645a386 /Zotlabs
parentca9491d343cd03acfb0bb48017df48ca8ffb761d (diff)
downloadvolse-hubzilla-df420361000a33f3e6f6982954c21a1c7a3168cf.tar.gz
volse-hubzilla-df420361000a33f3e6f6982954c21a1c7a3168cf.tar.bz2
volse-hubzilla-df420361000a33f3e6f6982954c21a1c7a3168cf.zip
make sure config.system.trusted_directory_servers is an array
Diffstat (limited to 'Zotlabs')
-rw-r--r--Zotlabs/Lib/Libzotdir.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Lib/Libzotdir.php b/Zotlabs/Lib/Libzotdir.php
index 6c4c4965e..e30ccc43c 100644
--- a/Zotlabs/Lib/Libzotdir.php
+++ b/Zotlabs/Lib/Libzotdir.php
@@ -232,7 +232,7 @@ class Libzotdir {
if (! $r)
return;
- $dir_trusted_hosts = array_merge(get_directory_fallback_servers(), get_config('system', 'trusted_directory_servers'));
+ $dir_trusted_hosts = array_merge(get_directory_fallback_servers(), get_config('system', 'trusted_directory_servers', []));
foreach ($r as $rr) {
if (! $rr['site_directory'])