X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmysql-manager.php;h=9aa35d0f2d7b07d3d9e39e2b69fda346afd3902b;hb=35e30db36415c79180aa2cacf7259883deef5584;hp=e377a6b3c1550698ac9d9675ec90394226879dc4;hpb=fe1bba9b9c61a08d4f3eda0019012ec033a98719;p=mailer.git diff --git a/inc/mysql-manager.php b/inc/mysql-manager.php index e377a6b3c1..9aa35d0f2d 100644 --- a/inc/mysql-manager.php +++ b/inc/mysql-manager.php @@ -1116,7 +1116,7 @@ function removeReceiver (&$receivers, $key, $userid, $pool_id, $stats_id = '', $ function countSumTotalData ($search, $tableName, $lookFor = 'id', $whereStatement = 'userid', $countRows = false, $add = '') { $ret = 0; //* DEBUG: */ outputHtml($search.'/'.$tableName.'/'.$lookFor.'/'.$whereStatement.'/'.$add.'
'); - if ((empty($search)) && ($search != 0)) { + if ((empty($search)) && ($search != '0')) { // Count or sum whole table? if ($countRows === true) { // Count whole table