Skip to content

Commit

Permalink
Merge pull request #32306 from clementgde/patch-1
Browse files Browse the repository at this point in the history
NEW Add doActions on project documents
  • Loading branch information
eldy authored Dec 13, 2024
2 parents c32f31b + 9550708 commit be8269b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions htdocs/projet/document.php
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,12 @@
* 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';


Expand Down

0 comments on commit be8269b

Please sign in to comment.