Skip to content
Snippets Groups Projects
Commit 195a1b27 authored by Jean-François Ferry's avatar Jean-François Ferry
Browse files

FIX #2957 : missing $langs object for trigger

parent a60ab7dd
No related branches found
No related tags found
No related merge requests found
...@@ -156,7 +156,7 @@ class ProductFournisseur extends Product ...@@ -156,7 +156,7 @@ class ProductFournisseur extends Product
*/ */
function update_buyprice($qty, $buyprice, $user, $price_base_type, $fourn, $availability, $ref_fourn, $tva_tx, $charges=0, $remise_percent=0, $remise=0, $newnpr=0) function update_buyprice($qty, $buyprice, $user, $price_base_type, $fourn, $availability, $ref_fourn, $tva_tx, $charges=0, $remise_percent=0, $remise=0, $newnpr=0)
{ {
global $conf,$mysoc; global $conf,$mysoc, $langs;
// Clean parameter // Clean parameter
if (empty($qty)) $qty=0; if (empty($qty)) $qty=0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment