FIX #3987 Undefined variable $newref in CommandeFournisseur::approve

This commit is contained in:
Marcos García de La Fuente 2015-11-21 11:00:56 +01:00
parent 30f0b6e2e8
commit e8fc5f0d3a

View File

@ -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