Skip to content

Commit

Permalink
FIX #3987 Undefined variable $newref in CommandeFournisseur::approve
Browse files Browse the repository at this point in the history
  • Loading branch information
marcosgdf committed Nov 21, 2015
1 parent 30f0b6e commit e8fc5f0
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion htdocs/fourn/class/fournisseur.commande.class.php
Expand Up @@ -765,7 +765,6 @@ function approve($user, $idwarehouse=0, $secondlevel=0)

if (! $error)
{
$this->ref=$newref;
if ($movetoapprovestatus) $this->statut = 2;
else $this->statut = 1;
if (empty($secondlevel)) // standard or first level approval
Expand Down

0 comments on commit e8fc5f0

Please sign in to comment.