]> git.mxchange.org Git - mailer.git/commitdiff
Typo fixed
authorRoland Häder <roland@mxchange.org>
Tue, 10 Mar 2009 21:59:25 +0000 (21:59 +0000)
committerRoland Häder <roland@mxchange.org>
Tue, 10 Mar 2009 21:59:25 +0000 (21:59 +0000)
inc/mysql-manager.php

index fd67f992d23631974049b99507d7ef71088ccb31..57ca77e32a66613d94794caec488a6c089ea547a 100644 (file)
@@ -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")) {