Merge pull request #4053 from marcosgdf/bug-3987
FIX #3987 Undefined variable $newref in CommandeFournisseur::approve
This commit is contained in:
commit
1caf148dc6
1 changed files with 2 additions and 1 deletions
|
|
@ -765,7 +765,8 @@ class CommandeFournisseur extends CommonOrder
|
|||
|
||||
if (! $error)
|
||||
{
|
||||
$this->ref=$newref;
|
||||
$this->ref = $this->newref;
|
||||
|
||||
if ($movetoapprovestatus) $this->statut = 2;
|
||||
else $this->statut = 1;
|
||||
if (empty($secondlevel)) // standard or first level approval
|
||||
|
|
|
|||
Loading…
Reference in a new issue