Add doActions on project documents

This commit is contained in:
Clément 2024-12-10 00:13:38 +01:00 committed by GitHub
parent 78ece8355f
commit 76c9b25569
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -101,6 +101,12 @@ $permissiontoadd = $user->hasRight('projet', 'creer');
* Actions
*/
$parameters = array();
$reshook = $hookmanager->executeHooks('doActions', $parameters, $object, $action); // Note that $action and $object may have been modified by some hooks
if ($reshook < 0) {
setEventMessages($hookmanager->error, $hookmanager->errors, 'errors');
}
include DOL_DOCUMENT_ROOT.'/core/actions_linkedfiles.inc.php';