Skip to content

Commit

Permalink
Merge pull request #1199 from GPCsolutions/3.4-fixmissingparameter
Browse files Browse the repository at this point in the history
Update parameter as expected by the function name
  • Loading branch information
eldy committed Aug 26, 2013
2 parents 570fee7 + dcc8726 commit 9cf2d8c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions htdocs/fourn/class/fournisseur.product.class.php
Expand Up @@ -181,6 +181,7 @@ function update_buyprice($qty, $buyprice, $user, $price_base_type, $fourn, $avai
{
$sql = "UPDATE ".MAIN_DB_PREFIX."product_fournisseur_price";
$sql.= " SET fk_user = " . $user->id." ,";
$sql.= " ref_fourn = \"" . $this->db->escape($ref_fourn) . "\",";
$sql.= " price = ".price2num($buyprice).",";
$sql.= " quantity = ".$qty.",";
$sql.= " remise_percent = ".$remise_percent.",";
Expand Down

0 comments on commit 9cf2d8c

Please sign in to comment.