NEW do actions hook on bank card
This commit is contained in:
parent
39fe315e3f
commit
ed53301cec
@ -73,6 +73,12 @@ $result = restrictedArea($user, 'banque', $id, 'bank_account&bank_account', '',
|
|||||||
* Actions
|
* 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');
|
||||||
|
|
||||||
|
if (empty($reshook)) {
|
||||||
|
|
||||||
if ($cancel) {
|
if ($cancel) {
|
||||||
$action = '';
|
$action = '';
|
||||||
}
|
}
|
||||||
@ -289,7 +295,7 @@ if ($action == 'confirm_delete' && GETPOST("confirm") == "yes" && $user->rights-
|
|||||||
$action = '';
|
$action = '';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* View
|
* View
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user