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:
Maurício Meneghini Fauth 2018-08-06 20:49:11 -03:00 committed by GitHub
commit da51bdf56b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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':