From 3a72e26ece626ddf55f45783ad23bd38fed4a946 Mon Sep 17 00:00:00 2001 From: Steve Alberty Date: Fri, 13 Jul 2001 17:36:13 +0000 Subject: [PATCH] fix display error --- sql.php3 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sql.php3 b/sql.php3 index 0391dca54..4844c72d0 100755 --- a/sql.php3 +++ b/sql.php3 @@ -78,7 +78,7 @@ else { $sql_limit = (isset($pos) && eregi("^SELECT", $sql_query) && !eregi("LIMIT[ 0-9,]+$", $sql_query)) ? " LIMIT $pos, $cfgMaxRows" : ''; mysql_select_db($db); - $result = mysql_query($sql_query.$sql_order.$sql_limit); + $result = @mysql_query($sql_query.$sql_order.$sql_limit); // Count the total number of rows for the same 'SELECT' query without the // 'LIMIT' clause that may have been programatically added