Skip to content
Snippets Groups Projects
Commit cefc5f18 authored by Jared Hancock's avatar Jared Hancock
Browse files

upgrade: fix oops in company info loader task

parent 7c306d9f
No related branches found
No related tags found
No related merge requests found
......@@ -314,7 +314,7 @@ class StreamUpgrader extends SetupWizard {
function getPendingTask() {
$pending=array();
if ($task=$this->getTask())
if (($task=$this->getTask()) && $task)
return ($task->isFinished()) ? 1 : 0;
return false;
......
......@@ -18,4 +18,7 @@ class CompanyFormLoader extends MigrationTask {
}
}
}
return 'CompanyFormLoader';
?>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment