Explicitly pass the pdf object by reference in the printStdColumnContent hook call.
This commit is contained in:
parent
37401df106
commit
3cdabbaaff
@ -1083,7 +1083,7 @@ abstract class CommonDocGenerator
|
||||
'curY' => &$curY,
|
||||
'columnText' => $columnText,
|
||||
'colKey' => $colKey,
|
||||
'pdf' => $pdf,
|
||||
'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