Ajout check des emails
This commit is contained in:
parent
c77dcc6975
commit
6afc53a259
@ -191,7 +191,12 @@ if ($result)
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
print '<td><a href="mailto:'.$obj->email.'">'.$obj->email.'</a> </td>';
|
print '<td><a href="mailto:'.$obj->email.'">'.$obj->email.'</a> ';
|
||||||
|
if (!valid_email($obj->email))
|
||||||
|
{
|
||||||
|
print "Email Invalide !";
|
||||||
|
}
|
||||||
|
print '</td>';
|
||||||
}
|
}
|
||||||
|
|
||||||
print "</tr>\n";
|
print "</tr>\n";
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user