]> git.mxchange.org Git - mailer.git/blobdiff - inc/mysql-manager.php
Refactured old lost code
[mailer.git] / inc / mysql-manager.php
index 43a2e1d37b6c2c97777bcf6ca9318b60be3ad36b..fd67f992d23631974049b99507d7ef71088ccb31 100644 (file)
@@ -1058,7 +1058,7 @@ function REMOVE_RECEIVER (&$receivers, $key, $uid, $pool_id, $stats_id="", $bonu
 }
 
 // Calculate sum (default) or count records of given criteria
-function GET_TOTAL_DATA ($search, $tableName, $lookFor, $whereStatement = "userid", $countRows = false, $add = "") {
+function GET_TOTAL_DATA ($search, $tableName, $lookFor = "id", $whereStatement = "userid", $countRows = false, $add = "") {
        $ret = 0;
        //* DEBUG: */ echo $search."/".$tableName."/".$lookFor."/".$whereStatement."/".$add."<br />\n";
        if (empty($search)) {