]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-list_rallyes.php
Renamed ifSqlHasZeroNums() to ifSqlHasZeroNumRows() and improved some queries.
[mailer.git] / inc / modules / admin / what-list_rallyes.php
index ae6e2c597bfe2459c82d551f7ee940389bc1a384..788c49723494a258a43cbe84f31dfc01b1621968 100644 (file)
@@ -263,7 +263,7 @@ WHERE
 ORDER BY
        `userid` ASC",
                array(bigintval(getRequestElement('rallye_id'))), __FILE__, __LINE__);
-       if (!ifSqlHasZeroNums($result)) {
+       if (!ifSqlHasZeroNumRows($result)) {
                $OUT = '';
                $content['rallye_id'] = bigintval(getRequestElement('rallye_id'));
                while ($row = sqlFetchArray($result)) {
@@ -333,7 +333,7 @@ ORDER BY
        `start_time` DESC", __FILE__, __LINE__);
 
        // Records found?
-       if (!ifSqlHasZeroNums($result)) {
+       if (!ifSqlHasZeroNumRows($result)) {
                // List found rallyes
                $OUT = '';
                while ($data = sqlFetchArray($result)) {