Skip to content
Snippets Groups Projects
Commit 1caf148d authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Merge pull request #4053 from marcosgdf/bug-3987

FIX #3987 Undefined variable $newref in CommandeFournisseur::approve
parents c8da4ee9 a30f7d54
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment