Fixes an error related to using continue within a loop.

https://wiki.php.net/rfc/continue_on_switch_deprecation
This commit is contained in:
Dennis Brentjes 2018-12-26 10:30:14 +01:00
parent 16ec547064
commit 768f5ee529

View File

@ -61,7 +61,7 @@ class Form
{
$this->missing[] = $field_id;
$this->data[$field_id] = '';
continue;
continue 2;
}
else
$this->data[$field_id] = $post[$field_id];
@ -78,7 +78,7 @@ class Form
{
$this->missing[] = $field_id;
$this->data[$field_id] = '';
continue;
continue 2;
}
else
$this->data[$field_id] = $post[$field_id];