]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/member/what-reflinks.php
More language strings renamed, TODOs.txt updated:
[mailer.git] / inc / modules / member / what-reflinks.php
index 2e838689b888c67c13c7dfdb0d34688bea03fa2c..c25d3ff01264e67dbaee3d7f580b973887f037f0 100644 (file)
@@ -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)) {