aboutsummaryrefslogtreecommitdiffstats
path: root/include/externals.php
diff options
context:
space:
mode:
authormarijus <mario@mariovavti.com>2014-08-22 09:14:19 +0200
committermarijus <mario@mariovavti.com>2014-08-22 09:14:19 +0200
commitc5f4e5bac76de93b30c00fa9fb3dc8a559d7b070 (patch)
treefcb7c92735bbcbae9359d3fcf91a185226698426 /include/externals.php
parent85ef5c10333ce4ce9d7e2d4b17caa4b1e7c871ef (diff)
parent1abd2a2917504d102a6e4c6a9c34fa4a5fba4937 (diff)
downloadvolse-hubzilla-c5f4e5bac76de93b30c00fa9fb3dc8a559d7b070.tar.gz
volse-hubzilla-c5f4e5bac76de93b30c00fa9fb3dc8a559d7b070.tar.bz2
volse-hubzilla-c5f4e5bac76de93b30c00fa9fb3dc8a559d7b070.zip
Merge branch 'master' of https://github.com/friendica/red into upstream
Diffstat (limited to 'include/externals.php')
-rw-r--r--include/externals.php2
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;
}