Merge pull request #20407 from leninrivas/patch-2
Fix delete link in Delivery
This commit is contained in:
commit
b8a74668ff
@ -90,6 +90,9 @@ $error = 0;
|
||||
|
||||
$parameters = array();
|
||||
$reshook = $hookmanager->executeHooks('doActions', $parameters, $object, $action); // Note that $action and $object may have been modified by some hooks
|
||||
// Delete Link
|
||||
$permissiondellink = $user->rights->expedition->delivery->supprimer; // Used by the include of actions_dellink.inc.php
|
||||
include DOL_DOCUMENT_ROOT.'/core/actions_dellink.inc.php'; // Must be include, not include_once
|
||||
|
||||
if ($action == 'add') {
|
||||
$db->begin();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user