From 3b200d3e04e9d99184a65a16c9cbe35e9123e0bf Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Fri, 28 Jan 2011 04:59:07 +0000 Subject: [PATCH] SQL fix --- inc/db/lib-mysql3.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/db/lib-mysql3.php b/inc/db/lib-mysql3.php index 9db8e65bea..7a33983a1e 100644 --- a/inc/db/lib-mysql3.php +++ b/inc/db/lib-mysql3.php @@ -556,7 +556,7 @@ function isSqlTableCreated ($table) { // Do we have cache? if (!isset($GLOBALS[__FUNCTION__][$table])) { // Check if the table is there - $result = SQL_QUERY_ESC("SHOW TABLES FROM `{?__DB_NAME?}` WHERE `Tables_in_{?__DB_NAME?}`='{?_MYSQL_PREFIX?}_%s' LIMIT 1", + $result = SQL_QUERY_ESC("SHOW TABLES FROM `{?__DB_NAME?}` WHERE `Tables_in_{?__DB_NAME?}`='{?_MYSQL_PREFIX?}_%s'", array($table), __FILE__, __LINE__); // Is there an entry? -- 2.39.5