]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-list_holiday.php
More rewrites to make use of (cached) wrapper functions
[mailer.git] / inc / modules / admin / what-list_holiday.php
index b6573bb1dd6872fa60dc75dda0497d6ecb899580..f2d29b272385a065fa3c245374427a6bb7e8b65d 100644 (file)
@@ -57,7 +57,7 @@ ON
 ORDER BY
        h.userid ASC", __FILE__, __LINE__);
 
-if (SQL_NUMROWS($result) > 0) {
+if (!SQL_HASZERONUMS($result)) {
        // List all holiday requests
        $OUT = '';
        while ($content = SQL_FETCHARRAY($result)) {