X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Flibs%2Fsponsor_functions.php;h=fa1767bea6454fae032e130b8131cc6535066a66;hp=3de5472e7e07d6376be033ff00376408a0d100be;hb=49acdb7a7adbcf25a8e8683b5581bfcec72b23bd;hpb=f3c5b763e15cf8a6106cf259189a24e80636302b diff --git a/inc/libs/sponsor_functions.php b/inc/libs/sponsor_functions.php index 3de5472e7e..fa1767bea6 100644 --- a/inc/libs/sponsor_functions.php +++ b/inc/libs/sponsor_functions.php @@ -282,7 +282,7 @@ WHERE " . $WHERE . " ORDER BY `sort` ASC", __FUNCTION__, __LINE__); - if (!ifSqlHasZeroNums($result_main)) { + if (!ifSqlHasZeroNumRows($result_main)) { // Load every menu and it's sub menus while ($content = sqlFetchArray($result_main)) { // Load sub menus @@ -299,7 +299,7 @@ WHERE ORDER BY `sort` ASC", array($content['main_action']), __FUNCTION__, __LINE__); - if (!ifSqlHasZeroNums($result_sub)) { + if (!ifSqlHasZeroNumRows($result_sub)) { // Load sub menus $SUB = ''; while ($content2 = sqlFetchArray($result_sub)) {