]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-overview.php
constants fixed
[mailer.git] / inc / modules / admin / what-overview.php
index 7c443d6d65aeecb1ad503e545adeb6eb56939967..44991b3b282478b053528b2c039ffb7f2cee3380 100644 (file)
@@ -47,7 +47,7 @@ $JOBS_DONE = true;
 // When the admin is logging in check several things first (new jobs to complete and so on)
 if ($GLOBALS['action'] == "login")
 {
-       if (EXT_IS_ACTIVE("task"))
+       if ((EXT_IS_ACTIVE("task")) && (function_exists('OUTPUT_ADVANCED_OVERVIEW')))
        {
                // When task extension is registered output advanced overview page
                $JOBS_DONE = OUTPUT_ADVANCED_OVERVIEW($result_tasks); // This function is provided by the extension 'task'
@@ -69,7 +69,7 @@ if ($JOBS_DONE)
                {
                        // Prepare content
                        $content = array(
-                               'title' => $MTITLE[$key],
+                               'title' => $menuTitle[$key],
                                'text'  => $value
                        );