From 2ee8b4a56955a11aceabcbd2d1b84d15fc1da409 Mon Sep 17 00:00:00 2001 From: Andrea Adamczyk Date: Fri, 22 Nov 2019 15:06:12 -0400 Subject: [PATCH] PMC-1386 --- gulliver/system/class.form.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gulliver/system/class.form.php b/gulliver/system/class.form.php index 96cfb7cbb..e7acf358f 100644 --- a/gulliver/system/class.form.php +++ b/gulliver/system/class.form.php @@ -360,7 +360,7 @@ class Form extends XmlForm //Execute just if a query was set, it should be not empty if (trim($query) == "") { - continue; //if it is empty string skip it + break; //if it is empty string skip it } //We do the query to the external connection and we've got the label @@ -438,7 +438,7 @@ class Form extends XmlForm // execute just if a query was set, it should be not empty if (trim( $query ) == '') { - continue; //if it is empty string skip it + break; //if it is empty string skip it } //we do the query to the external connection and we've got the label @@ -491,7 +491,7 @@ class Form extends XmlForm //Execute just if a query was set, it should be not empty if (trim( $query ) == "") { //if it is empty string skip it - continue; + break; } $rs = $stmt->executeQuery( ResultSet::FETCHMODE_NUM );