Skip to content

Commit 542538f

Browse files
author
Marius Burkard
committed
Added missing break
1 parent 88078fc commit 542538f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

interface/web/mail/mail_forward_edit.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,8 @@ function onSubmit() {
126126
$targets = preg_split('/\s*[,;]\s*/', trim($this->dataRecord['destination']));
127127
foreach($targets as $target) {
128128
if(!$target || filter_var($target, FILTER_VALIDATE_EMAIL) === false) {
129-
$app->tform->errorMessage .= $app->tform->lng('destination_error_isemail') . '<br />'
129+
$app->tform->errorMessage .= $app->tform->lng('destination_error_isemail') . '<br />';
130+
break;
130131
}
131132
}
132133
}

0 commit comments

Comments
 (0)