]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-overview.php
A lot while() conditions rewritten to SQL_FETCHARRAY(), see bug #107, @TODO tags...
[mailer.git] / inc / modules / admin / what-overview.php
index 4f1a7073b46714444169be33505e8ed10cdb05e8..4dd390c8a287df2aa5e93b8424a4f39ee6432c0d 100644 (file)
@@ -61,7 +61,7 @@ if ($GLOBALS['action'] == "login") {
 // Are there jobs to be done?
 if ($JOBS_DONE) {
        // Generate overview of all main menus
-       if ((is_array($GLOBALS['menu']['description'])) && (sizeof($GLOBALS['menu']['description']) > 0)) {
+       if ((is_array($GLOBALS['menu']['description'])) && (count($GLOBALS['menu']['description']) > 0)) {
                $OUT = "";
                foreach ($GLOBALS['menu']['description'] as $key => $value)
                {