Skip to content

Commit

Permalink
Fix: convert line delimiters
Browse files Browse the repository at this point in the history
  • Loading branch information
hregis committed May 22, 2012
1 parent 8f3ead5 commit 8eb73aa
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions htdocs/product/admin/product_tools.php
Expand Up @@ -68,18 +68,18 @@
$ret=$object->fetch($obj->rowid);
if ($ret)
{
if ($price_base_type == 'TTC')
{
$newprice=price2num($object->price_ttc,'2');
}
else
{
$newprice=price2num($object->price,'MU');
}

$newvat=str_replace('*','',$newvatrate);

$ret=$object->updatePrice($object->id, $newprice, $price_base_type, $user, $newvat);
if ($price_base_type == 'TTC')
{
$newprice=price2num($object->price_ttc,'2');
}
else
{
$newprice=price2num($object->price,'MU');
}

$newvat=str_replace('*','',$newvatrate);

$ret=$object->updatePrice($object->id, $newprice, $price_base_type, $user, $newvat);
if ($ret < 0) $error++;
}

Expand Down

0 comments on commit 8eb73aa

Please sign in to comment.