X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fmodules%2Fmember%2Fwhat-stats.php;h=9c62bc4fd2338fc2f8bd23a4df2b26620afa8b0f;hp=48b5a2610faf59f5b22e3cc11d08bc784f1e5572;hb=49acdb7a7adbcf25a8e8683b5581bfcec72b23bd;hpb=e9da1508b2a3ccbf63adc999981674740a47e074 diff --git a/inc/modules/member/what-stats.php b/inc/modules/member/what-stats.php index 48b5a2610f..9c62bc4fd2 100644 --- a/inc/modules/member/what-stats.php +++ b/inc/modules/member/what-stats.php @@ -69,7 +69,7 @@ ORDER BY array(getMemberId()), __FILE__, __LINE__); // Are there mails left in pool? -if (!ifSqlHasZeroNums($result)) { +if (!ifSqlHasZeroNumRows($result)) { // Load all orders $OUT = ''; while ($content = sqlFetchArray($result)) { @@ -109,7 +109,7 @@ ORDER BY `timestamp_ordered` DESC', array(getMemberId()), __FILE__, __LINE__); -if (!ifSqlHasZeroNums($result)) { +if (!ifSqlHasZeroNumRows($result)) { // Mail orders are in pool so we can display them $OUT = ''; while ($content = sqlFetchArray($result)) {