FIX : Missing hook in cibles.php (for mailing)
This commit is contained in:
parent
6b12dd4143
commit
90d159fbc3
@ -66,6 +66,8 @@ $modulesdir = dolGetModulesDirs('/mailings');
|
|||||||
$object = new Mailing($db);
|
$object = new Mailing($db);
|
||||||
$result = $object->fetch($id);
|
$result = $object->fetch($id);
|
||||||
|
|
||||||
|
// Initialize technical object to manage hooks of page. Note that conf->hooks_modules contains array of hook context
|
||||||
|
$hookmanager->initHooks(array('ciblescard', 'globalcard'));
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Actions
|
* Actions
|
||||||
@ -471,6 +473,10 @@ if ($object->fetch($id) >= 0)
|
|||||||
}
|
}
|
||||||
} // End foreach dir
|
} // End foreach dir
|
||||||
|
|
||||||
|
$parameters = array();
|
||||||
|
$reshook = $hookmanager->executeHooks('formObjectOptions', $parameters, $object, $action); // Note that $action and $object may have been modified by hook
|
||||||
|
print $hookmanager->resPrint;
|
||||||
|
|
||||||
print '</div>';
|
print '</div>';
|
||||||
|
|
||||||
print '<br><br>';
|
print '<br><br>';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user