add columns if active hooks use the formBuilddocLineOptions method
This commit is contained in:
parent
bfedddd95e
commit
117ddbdff2
@ -455,7 +455,13 @@ class FormFile
|
|||||||
$out.= '</th>';
|
$out.= '</th>';
|
||||||
|
|
||||||
if ($printer) $out.= '<th></th>';
|
if ($printer) $out.= '<th></th>';
|
||||||
|
if($hookmanager->hooks['formfile'])
|
||||||
|
{
|
||||||
|
foreach($hookmanager->hooks['formfile'] as $module)
|
||||||
|
{
|
||||||
|
if(method_exists($module, 'formBuilddocLineOptions')) $out .= '<th></th>';
|
||||||
|
}
|
||||||
|
}
|
||||||
$out.= '</tr>';
|
$out.= '</tr>';
|
||||||
|
|
||||||
// Execute hooks
|
// Execute hooks
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user