FIX: printFieldListValue Hook, $obj never set.

Replaced $obj by $task_time, that should be the useful object.
This commit is contained in:
bomuux 2017-08-06 18:35:25 +02:00 committed by GitHub
parent 18468e3f18
commit 52523be3ce

View File

@ -956,7 +956,7 @@ if (($id > 0 || ! empty($ref)) || $projectidforalltimes > 0)
}
// Fields from hook
$parameters=array('arrayfields'=>$arrayfields, 'obj'=>$obj);
$parameters=array('arrayfields'=>$arrayfields, 'obj'=>$task_time);
$reshook=$hookmanager->executeHooks('printFieldListValue',$parameters); // Note that $action and $object may have been modified by hook
print $hookmanager->resPrint;