// When the admin is logging in check several things first (new jobs to complete and so on)
if (getAction() == 'login') {
- if (isExtensionActive('task')) {
+ if ((isExtensionActive('task')) && (function_exists('outputAdvancedOverview'))) {
// When task extension is registered output advanced overview page
$jobsDone = outputAdvancedOverview($result_tasks); // This function is provided by the extension 'task'
$taskExt = true;