Fix: uniformize code

This commit is contained in:
Regis Houssin 2010-02-20 10:21:53 +00:00
parent e514b5604b
commit 299db38757

View File

@ -399,7 +399,7 @@ class Product extends CommonObject
$sql = "UPDATE ".MAIN_DB_PREFIX."product ";
$sql .= " SET label = '" . addslashes($this->libelle) ."'";
if ($this->ref) $sql .= ",ref = '" . $this->ref ."'";
$sql .= ",ref = '" . $this->ref ."'";
$sql .= ",tva_tx = " . $this->tva_tx;
$sql .= ",envente = " . $this->status;
$sql .= ",finished = " . ($this->finished<0 ? "null" : $this->finished);