From 768f5ee529920f08890046f47633912ae33df19c Mon Sep 17 00:00:00 2001 From: Dennis Brentjes Date: Wed, 26 Dec 2018 10:30:14 +0100 Subject: [PATCH] Fixes an error related to using continue within a loop. https://wiki.php.net/rfc/continue_on_switch_deprecation --- models/Form.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/models/Form.php b/models/Form.php index 64cfe04b..62952ae5 100644 --- a/models/Form.php +++ b/models/Form.php @@ -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];