diff options
author | Mario <mario@mariovavti.com> | 2023-05-03 08:47:21 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2023-05-03 08:47:21 +0000 |
commit | df420361000a33f3e6f6982954c21a1c7a3168cf (patch) | |
tree | 3e3b4f5f2d232ef4dd79a5da2751231c4645a386 /Zotlabs | |
parent | ca9491d343cd03acfb0bb48017df48ca8ffb761d (diff) | |
download | volse-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.php | 2 |
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']) |