diff options
author | friendica <info@friendica.com> | 2014-08-21 21:07:32 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2014-08-21 21:07:32 -0700 |
commit | 69d3e5468d970633412cbdc731a4e477181dbc8c (patch) | |
tree | 2f870d9951caf15b795cb3aa6ee9b50e5d79b8ba /include/externals.php | |
parent | 72a766432d90f6eec44641466e77567808f61aca (diff) | |
download | volse-hubzilla-69d3e5468d970633412cbdc731a4e477181dbc8c.tar.gz volse-hubzilla-69d3e5468d970633412cbdc731a4e477181dbc8c.tar.bz2 volse-hubzilla-69d3e5468d970633412cbdc731a4e477181dbc8c.zip |
provide the site blacklist everywhere it is needed
Diffstat (limited to 'include/externals.php')
-rw-r--r-- | include/externals.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/externals.php b/include/externals.php index a96bf7c97..8944524b7 100644 --- a/include/externals.php +++ b/include/externals.php @@ -41,7 +41,7 @@ function externals_run($argv, $argc){ $bl1 = get_config('system','blacklisted_sites'); if(is_array($bl1) && $bl1) { foreach($bl1 as $bl) { - if(strpos($url,$bl) !== false) { + if($bl && strpos($url,$bl) !== false) { $blacklisted = true; break; } |