mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
add hook (#31938)
This commit is contained in:
parent
5d9d282f1b
commit
fac36d2376
|
|
@ -1103,6 +1103,10 @@ if ($num) {
|
|||
if (getDolGlobalString('MAIN_EMAIL_TEMPLATES_FOR_OBJECT_LINES')) {
|
||||
$fieldsforcontent[] = 'content_lines';
|
||||
}
|
||||
|
||||
$parameters = array('fieldsforcontent' => &$fieldsforcontent, 'tabname' => $tabname[$id]);
|
||||
$hookmanager->executeHooks('editEmailTemplateFieldsForContent', $parameters, $obj, $tmpaction); // Note that $action and $object may have been modified by some hooks
|
||||
|
||||
foreach ($fieldsforcontent as $tmpfieldlist) {
|
||||
$showfield = 1;
|
||||
$css = "left";
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user