$result is not defined before (the if statement above does not count for this), that’s why you get this notice.
On top of your script, initialize
$result = FALSE;
and everythig is fine.
$result is not defined before (the if statement above does not count for this), that’s why you get this notice.
On top of your script, initialize
$result = FALSE;
and everythig is fine.