1
0
Fork 0
forked from blallo/rss-bridge

[Bridge] Fix missing function scope

This commit is contained in:
logmanoriginal 2016-08-24 20:50:32 +02:00
parent 95404b8fc4
commit 1d0b8f20f3

View file

@ -89,7 +89,7 @@ EOD;
return $listBridge; return $listBridge;
} }
static function isWhitelisted($whitelist, $name){ static public function isWhitelisted($whitelist, $name){
if(in_array($name, $whitelist) if(in_array($name, $whitelist)
or in_array($name . '.php', $whitelist) or in_array($name . '.php', $whitelist)
or in_array($name . 'Bridge', $whitelist) // DEPRECATED or in_array($name . 'Bridge', $whitelist) // DEPRECATED