Skip to content
Snippets Groups Projects
Commit 15060d97 authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Merge pull request #2958 from jfefe/patch-8

FIX #2957 : missing $langs object for trigger
parents a60ab7dd 195a1b27
No related branches found
No related tags found
No related merge requests found
......@@ -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)
{
global $conf,$mysoc;
global $conf,$mysoc, $langs;
// Clean parameter
if (empty($qty)) $qty=0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment