X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Flibs%2Fsponsor_functions.php;h=d7d6df0f1641580b4df2ad25b8d9fb44ff72c566;hb=61621983cc6d7195fcc7eab29b5f6080ff283b34;hp=81fd04d6409eecb4a17eaf5d7693e214603ed35f;hpb=e5848e7e22dffe36ea207111a3a4ed1f7d5a8639;p=mailer.git diff --git a/inc/libs/sponsor_functions.php b/inc/libs/sponsor_functions.php index 81fd04d640..d7d6df0f16 100644 --- a/inc/libs/sponsor_functions.php +++ b/inc/libs/sponsor_functions.php @@ -16,7 +16,7 @@ * $Author:: $ * * -------------------------------------------------------------------- * * Copyright (c) 2003 - 2009 by Roland Haeder * - * Copyright (c) 2009 - 2013 by Mailer Developer Team * + * Copyright (c) 2009 - 2016 by Mailer Developer Team * * For more information visit: http://mxchange.org * * * * This program is free software; you can redistribute it and/or modify * @@ -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)) {