PMC-1386
This commit is contained in:
@@ -360,7 +360,7 @@ class Form extends XmlForm
|
|||||||
|
|
||||||
//Execute just if a query was set, it should be not empty
|
//Execute just if a query was set, it should be not empty
|
||||||
if (trim($query) == "") {
|
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
|
//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
|
// execute just if a query was set, it should be not empty
|
||||||
if (trim( $query ) == '') {
|
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
|
//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
|
//Execute just if a query was set, it should be not empty
|
||||||
if (trim( $query ) == "") {
|
if (trim( $query ) == "") {
|
||||||
//if it is empty string skip it
|
//if it is empty string skip it
|
||||||
continue;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
$rs = $stmt->executeQuery( ResultSet::FETCHMODE_NUM );
|
$rs = $stmt->executeQuery( ResultSet::FETCHMODE_NUM );
|
||||||
|
|||||||
Reference in New Issue
Block a user