Minor bugfixes

This commit is contained in:
Rodolphe Quiedeville 2006-12-13 15:21:01 +00:00
parent 5112d47142
commit e4f8c69589

View File

@ -230,7 +230,7 @@ class MouvementStock
function CalculateValoPmp($mvid, $fk_product, $qty, $price=0, &$value_ope)
{
$error = 0;
dolibarr_syslog("MouvementStock::CalculateValoPmp $user->id, $fk_product, $qty, $price");
dolibarr_syslog("MouvementStock::CalculateValoPmp $mvid, $fk_product, $qty, $price");
if ( $qty <> 0 )
{
@ -247,9 +247,9 @@ class MouvementStock
{
while ($row = $this->db->fetch_row($resql) )
{
$price_pmp = $row [0];
$qty_stock = $row [1];
$stock_value_pmp = $row [2];
$price_pmp = $row[0];
$qty_stock = $row[1];
$stock_value_pmp = $row[2];
}
$this->db->free($resql);
}