X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-list_sponsor.php;h=32ad71a64a2358e02f6e86707f69f7f6de6ad16e;hp=1fd3ed52705018c6d95498db6adf69fce8c75fb9;hb=30ae22f62ae87c53a56baf0d134569ba91011111;hpb=c72268213d4d4829d845d39c101bb08fbe4ed79a diff --git a/inc/modules/admin/what-list_sponsor.php b/inc/modules/admin/what-list_sponsor.php index 1fd3ed5270..32ad71a64a 100644 --- a/inc/modules/admin/what-list_sponsor.php +++ b/inc/modules/admin/what-list_sponsor.php @@ -107,7 +107,7 @@ ORDER BY `id` ASC", array(bigintval(getRequestParameter('rid'))), __FILE__, __LINE__); - if (SQL_NUMROWS($result) > 0) { + if (!SQL_HASZERONUMS($result)) { // List refs now // Free memory SQL_FREERESULT($result); @@ -129,7 +129,7 @@ FROM ORDER BY `id` ASC", __FILE__, __LINE__); - if (SQL_NUMROWS($result_main) > 0) { + if (!SQL_HASZERONUMS($result_main)) { // At least one sponsor found! $OUT = ''; while ($content = SQL_FETCHARRAY($result_main)) {