mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-07 16:41:48 +01:00
Merge pull request #2958 from jfefe/patch-8
FIX #2957 : missing $langs object for trigger
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user