ninjalinks error php help?

AliOki

New member
For some reason when people submit a link to my link directory, they get an error

"Notice: Undefined index: email in (home directory) on line 142

Warning: in_array() [function.in-array]: Wrong datatype for second argument in (home directory path here) on line 142"

I'm not that great in php but I have no idea where this error is coming from. I did not change any of the field names on the join form.

here are the if statements on line 142 on the functions.php:
if (in_array($_SERVER['REMOTE_ADDR'], $list['ip']))
return true;
elseif (in_array($email, $list['email']))
return true;
else
return false;
} else {
return false;
}

Nothing seems to be wrong, i even redownloaded the ninjalinks script and reuploaded the functions.php.

any ideas what the problem could be?
 
Back
Top