I'm very unhappy with PHP 7, which converts the untyped language in a typed one. Having said this, you may test
if (isset($iei_ignore)) ...
in order to see if the variable was actually set, or better, use a different variable to read the value, and use
$iei_ignore = array();
beforehand. E.g.:
$iei_ignore = array();
$x_ignore = explode("\r\n", $input_ignore);
if (!is_array($x_ignore))
{
$iei_ignore[] = $bburl;
}
else
{
$iei_ignore = $x_ignore;
}
|