Merge pull request #14521 from jfcherng/jfcherng-patch-1
Fix PHP 7.3 warning: "continue" in "switch" is equal to "break"
This commit is contained in:
commit
da51bdf56b
@ -686,7 +686,8 @@ class FormDisplay
|
||||
if (! $successfullyValidated) {
|
||||
$this->_errors[$workPath][] = __('Incorrect value!');
|
||||
$result = false;
|
||||
continue;
|
||||
// "continue" for the $form->fields foreach-loop
|
||||
continue 2;
|
||||
}
|
||||
break;
|
||||
case 'string':
|
||||
|
||||
Loading…
Reference in New Issue
Block a user