Merge pull request #7242 from bomuux/patch-1

FIX: printFieldListValue Hook, $obj never set.
This commit is contained in:
Laurent Destailleur 2017-08-10 13:03:55 +02:00 committed by GitHub
commit e6ad3f44b8

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;