From 5a037072da9ffa803deffabc4c8b2bafe7479f7d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Tue, 10 Mar 2009 21:59:25 +0000 Subject: [PATCH] Typo fixed --- inc/mysql-manager.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/inc/mysql-manager.php b/inc/mysql-manager.php index fd67f992d2..57ca77e32a 100644 --- a/inc/mysql-manager.php +++ b/inc/mysql-manager.php @@ -1065,11 +1065,11 @@ function GET_TOTAL_DATA ($search, $tableName, $lookFor = "id", $whereStatement = // Count or sum whole table? if ($countRows === true) { // Count whole table - $result = SQL_QEURY_ESC("SELECT COUNT(`%s`) FROM `{!_MYSQL_PREFIX!}_%s`".$add, + $result = SQL_QUERY_ESC("SELECT COUNT(`%s`) FROM `{!_MYSQL_PREFIX!}_%s`".$add, array($lookFor, $tableName), __FUNCTION__, __LINE__); } else { // Sum whole table - $result = SQL_QEURY_ESC("SELECT SUM(`%s`) FROM `{!_MYSQL_PREFIX!}_%s`".$add, + $result = SQL_QUERY_ESC("SELECT SUM(`%s`) FROM `{!_MYSQL_PREFIX!}_%s`".$add, array($lookFor, $tableName), __FUNCTION__, __LINE__); } } elseif (($countRows === true) || ($lookFor == "userid")) { -- 2.39.5