From b5cca628c779670792faeda2bc116aed5c23a0c8 Mon Sep 17 00:00:00 2001 From: John Horne Date: Thu, 12 Oct 2017 15:44:27 +0100 Subject: [PATCH] Check that query lines have more than one character in length. --- setup/page2.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup/page2.php b/setup/page2.php index e94dd1f033..f68a3ba31f 100644 --- a/setup/page2.php +++ b/setup/page2.php @@ -81,7 +81,7 @@ function _setup_debug($string) { { $query = $temp[$x++]; - if ( $query !="" ) + if ( strlen($query) > 1 ) { $ok = $xot_setup->database->runQuery( $query ); @@ -150,4 +150,4 @@ function _setup_debug($string) { - \ No newline at end of file +