Skip to content

Commit

Permalink
Fix: add $confirm value inside doAction hook parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
hregis committed Oct 9, 2017
1 parent 2bd6629 commit dcf497f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion htdocs/adherents/card.php
Expand Up @@ -121,7 +121,7 @@
* Actions
*/

$parameters=array('id'=>$id, 'rowid'=>$id, 'objcanvas'=>$objcanvas);
$parameters=array('id'=>$id, 'rowid'=>$id, 'objcanvas'=>$objcanvas, 'confirm'=>$confirm);
$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');

Expand Down

0 comments on commit dcf497f

Please sign in to comment.