elgreco

Topic: page_write.php "post" email bug

when someone post a new job the script does not check if the email entered is in valid syntax

to fix it...add in page_write.php:

Code:

    if (!validate_email($poster_email))
        {
            $errors['poster_email'] = $translations['jobs']['email_invalid'];
        }

in tralslations.ini add in [jobs]
email_invalid = "The E-mail address is invalid"

hope it helps smile

Last edited by elgreco (2008-11-27 11:01:14)