Fix compatibility
This commit is contained in:
parent
5f7192f475
commit
f396bf1218
1 changed files with 4 additions and 2 deletions
|
|
@ -4162,9 +4162,11 @@ class CommandeFournisseurLigne extends CommonOrderLine
|
|||
* @param int $notrigger 1=Disable call to triggers
|
||||
* @return int Return integer <0 if KO, >0 if OK
|
||||
*/
|
||||
public function delete($notrigger = 0)
|
||||
public function delete($user, $notrigger = 0)
|
||||
{
|
||||
global $user;
|
||||
if (empty($user)) {
|
||||
global $user;
|
||||
}
|
||||
|
||||
$error = 0;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue