X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fmember%2Fwhat-reflinks.php;h=c25d3ff01264e67dbaee3d7f580b973887f037f0;hb=34db702d004b245e5528b0ba20c6de441f61820a;hp=2e838689b888c67c13c7dfdb0d34688bea03fa2c;hpb=da475800e7c8dba5434f2baddadae8d65a7dff2f;p=mailer.git diff --git a/inc/modules/member/what-reflinks.php b/inc/modules/member/what-reflinks.php index 2e838689b8..c25d3ff012 100644 --- a/inc/modules/member/what-reflinks.php +++ b/inc/modules/member/what-reflinks.php @@ -69,7 +69,7 @@ $whereStatement = " WHERE `visible`='Y'"; if (isAdmin()) $whereStatement = ''; $result = SQL_QUERY("SELECT `id`, `url`, `alternate`, `counter`, `clicks` FROM `{?_MYSQL_PREFIX?}_refbanner`", __FILE__, __LINE__); -if (SQL_NUMROWS($result) > 0) { +if (!SQL_HASZERONUMS($result)) { // List available ref banners $OUT = ''; while ($row = SQL_FETCHARRAY($result)) {