// 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'
{
// Prepare content
$content = array(
- 'title' => $MTITLE[$key],
+ 'title' => $menuTitle[$key],
'text' => $value
);