Commit f59a13eb authored by Ad Schellevis's avatar Ad Schellevis Committed by Franco Fichtner

(legacy) more cleanups

parent 16d79da1
......@@ -521,7 +521,7 @@ function is_specialnet($net) {
if(!$net)
return false;
if (in_array($net, $specialsrcdst))
if (is_array($net) && in_array($net, $specialsrcdst))
return true;
else
return false;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment