Fixed issues with themes
[mailer.git] / inc / mysql-manager.php
index e377a6b3c1550698ac9d9675ec90394226879dc4..9aa35d0f2d7b07d3d9e39e2b69fda346afd3902b 100644 (file)
@@ -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.'<br />');
-       if ((empty($search)) && ($search != 0)) {
+       if ((empty($search)) && ($search != '0')) {
                // Count or sum whole table?
                if ($countRows === true) {
                        // Count whole table