diff --git a/mod/friendica.php b/mod/friendica.php index 6c143634c..1929150f2 100644 --- a/mod/friendica.php +++ b/mod/friendica.php @@ -116,14 +116,14 @@ function friendica_content(App $a) } else { $o .= '
' . L10n::t('No installed addons/apps') . '
' . PHP_EOL; } - + if (Config::get('system', 'tosdisplay')) { $o .= ''.L10n::t('Read about the Terms of Service of this node.', System::baseurl()).'
'; } - $blocklist = Config::get('system', 'blocklist'); - if (count($blocklist)) { + $blocklist = Config::get('system', 'blocklist', []); + if (!empty($blocklist)) { $o .= '' . L10n::t('On this server the following remote servers are blocked.') . '
' . PHP_EOL; $o .= '' . L10n::t('Blocked domain') . ' | ' . L10n::t('Reason for the block') . ' |
---|