fix tooltip ajax load langs

This commit is contained in:
Frédéric FRANCE 2023-09-05 16:19:21 +02:00 committed by GitHub
parent 0ed6a63fb0
commit e922d07a97
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -5058,7 +5058,7 @@ class Product extends CommonObject
{
global $conf, $langs;
$langs->load('products', 'other');
$langs->loadLangs(array('products', 'other'));
$datas = array();
$nofetch = !empty($params['nofetch']);