diff --git a/htdocs/product/fiche.php b/htdocs/product/fiche.php index bc5b34ec909..c8f82d5c9a6 100644 --- a/htdocs/product/fiche.php +++ b/htdocs/product/fiche.php @@ -179,8 +179,7 @@ if ($_POST["action"] == 'update_price' && $product->price = ereg_replace(" ","",$_POST["price"]); - - if ( $product->update_price($product->id, $user) > 0 ) + if ( $product->update_price($product->id, $user) > 0 ) { $_GET["action"] = ''; @@ -411,7 +410,7 @@ else if ($_GET["action"] == 'edit_price' && $user->rights->produit->creer) { print '