FIX Trigger *_MODIFY must be called when editing a property event extra.

Clean duplicate trigggers "*_CLONE"
This commit is contained in:
Laurent Destailleur
2018-02-20 18:09:38 +01:00
parent 15ba0c3b49
commit 809ef1bd00
27 changed files with 27 additions and 74 deletions

View File

@@ -1073,11 +1073,6 @@ class Commande extends CommonOrder
$reshook=$hookmanager->executeHooks('createFrom',$parameters,$this,$action); // Note that $action and $object may have been modified by some hooks
if ($reshook < 0) $error++;
}
// Call trigger
$result=$this->call_trigger('ORDER_CLONE',$user);
if ($result < 0) $error++;
// End call triggers
}
unset($this->context['createfromclone']);