constants fixed
[mailer.git] / inc / modules / admin / what-overview.php
index e18bbad546cdfac61b2d76fc69511d2b8eeb0767..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'