Fix: manquait point virgule

This commit is contained in:
Regis Houssin 2007-03-30 09:31:32 +00:00
parent 9fe206d9b9
commit 72c19623a8

View File

@ -158,23 +158,23 @@ class MouvementStock
$sql.= " WHERE fk_product = $fk_product;";
if ($this->db->query($sql))
{
while ($row = $this->db->fetch_row($resql) )
{
array_push($row[0]);
}
$this->db->free($resql);
}
{
while ($row = $this->db->fetch_row($resql) )
{
array_push($row[0]);
}
$this->db->free($resql);
}
else
{
dolibarr_syslog("MouvementStock::_Create echec update ".$this->error);
$error = -2;
}
{
dolibarr_syslog("MouvementStock::_Create echec update ".$this->error);
$error = -2;
}
foreach($pids as $pid)
{
$this->_create($user, $pid, $entrepot_id, $qty, $type, $price=0)
}
{
$this->_create($user, $pid, $entrepot_id, $qty, $type, $price=0);
}
return $error;
}