and more and more and more

Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann
2018-12-21 17:00:54 +01:00
parent a819d81ef2
commit b0e11f5708
9 changed files with 14 additions and 14 deletions

View File

@@ -86,7 +86,7 @@ class Emails extends \Froxlor\Api\ApiCommand implements \Froxlor\Api\ResourceEnt
$email_full = $email_part . '@' . $domain;
// validate it
if (! validateEmail($email_full)) {
if (! \Froxlor\Validate\Validate::validateEmail($email_full)) {
\Froxlor\UI\Response::standard_error('emailiswrong', $email_full, true);
}