Skip to content

Commit

Permalink
Fix: Removed a merged that we ddidn't want.
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed Nov 28, 2013
1 parent bdf8100 commit d1e62be
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions htdocs/product/admin/product_tools.php
Expand Up @@ -107,7 +107,7 @@
$newlevel=$level;

//print "$objectstatic->id $newprice, $price_base_type, $newvat, $newminprice, $newlevel, $newnpr<br>\n";
$retm=$objectstatic->updatePrice($objectstatic->id, $newprice, $price_base_type, $user, $newvat, $newminprice, $newlevel, $newnpr);
$retm=$objectstatic->updatePrice($newprice, $price_base_type, $user, $newvat, $newminprice, $newlevel, $newnpr);
if ($retm < 0)
{
$error++;
Expand Down Expand Up @@ -136,7 +136,7 @@
if (! empty($price_base_type) && ! $updatelevel1)
{
//print "$objectstatic->id $newprice, $price_base_type, $newvat, $newminprice, $newlevel, $newnpr<br>\n";
$ret=$objectstatic->updatePrice($objectstatic->id,$newprice, $price_base_type, $user, $newvat, $newminprice, $newlevel, $newnpr);
$ret=$objectstatic->updatePrice($newprice, $price_base_type, $user, $newvat, $newminprice, $newlevel, $newnpr);
}

if ($ret < 0 || $retm < 0) $error++;
Expand Down

0 comments on commit d1e62be

Please sign in to comment.