Skip to content

Commit 9f9a0c2

Browse files
author
Florian Schaal
committed
Vertippser ;-)
1 parent fc49a7c commit 9f9a0c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

interface/web/dns/dns_wizard.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@
267267
elseif(isset($_POST['ns2']) && !preg_match('/^[\w\.\-]{2,64}\.[a-zA-Z0-9]{2,30}$/', $_POST['ns2'])) $error .= $app->lng('error_ns2_regex').'<br />';
268268

269269
if(isset($_POST['email']) && $_POST['email'] == '') $error .= $app->lng('error_email_empty').'<br />';
270-
elseif(isset($_POST['email']) && filter_var($_POST['email'], FILTER_VALIDATE_EMAIL === false)) $error .= $app->lng('error_email_regex').'<br />';
270+
elseif(isset($_POST['email']) && filter_var($_POST['email'], FILTER_VALIDATE_EMAIL) === false) $error .= $app->lng('error_email_regex').'<br />';
271271

272272
// make sure that the record belongs to the client group and not the admin group when admin inserts it
273273
if($_SESSION["s"]["user"]["typ"] == 'admin' && isset($_POST['client_group_id'])) {

0 commit comments

Comments
 (0)