FIX #3987 Undefined variable $newref in CommandeFournisseur::approve
This commit is contained in:
parent
30f0b6e2e8
commit
e8fc5f0d3a
@ -765,7 +765,6 @@ class CommandeFournisseur extends CommonOrder
|
||||
|
||||
if (! $error)
|
||||
{
|
||||
$this->ref=$newref;
|
||||
if ($movetoapprovestatus) $this->statut = 2;
|
||||
else $this->statut = 1;
|
||||
if (empty($secondlevel)) // standard or first level approval
|
||||
|
||||
Loading…
Reference in New Issue
Block a user