Skip to content

Commit

Permalink
Merge pull request #6851 from atm-arnaud/FIX_hook_doactions_invoice_m…
Browse files Browse the repository at this point in the history
…odel

FIX doactions hook missing in invoice model page
  • Loading branch information
eldy committed May 18, 2017
2 parents dec602a + c9738aa commit d4fd222
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions htdocs/compta/facture/fiche-rec.php
Expand Up @@ -124,6 +124,10 @@
* Actions
*/

$parameters = array('socid' => $socid);
$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');

// Set note
include DOL_DOCUMENT_ROOT.'/core/actions_setnotes.inc.php'; // Must be include, not include_once

Expand Down

0 comments on commit d4fd222

Please sign in to comment.