Merge pull request #14198 from Gecka-Apps/12.0-printStdColumnContent-hook-improve
Improve printStdColumnContent by passing the $pdf object
This commit is contained in:
commit
f68be08c67
@ -1082,7 +1082,8 @@ abstract class CommonDocGenerator
|
||||
$parameters = array(
|
||||
'curY' => &$curY,
|
||||
'columnText' => $columnText,
|
||||
'colKey' => $colKey
|
||||
'colKey' => $colKey,
|
||||
'pdf' => &$pdf,
|
||||
);
|
||||
$reshook = $hookmanager->executeHooks('printStdColumnContent', $parameters, $this); // Note that $action and $object may have been modified by hook
|
||||
if ($reshook < 0) setEventMessages($hookmanager->error, $hookmanager->errors, 'errors');
|
||||
|
||||
Loading…
Reference in New Issue
Block a user