Fixes an error related to using continue within a loop.

https://wiki.php.net/rfc/continue_on_switch_deprecation
This commit is contained in:
Roflin committed 2019-03-08 19:52:01 +00:00
1 parent 16ec547064
commit 768f5ee529
1 file changed
+2 -2
+2 -2
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];