load translation for tooltip

translation was not loaded when using ajax tooltip
This commit is contained in:
Frédéric FRANCE 2023-04-25 09:46:12 +02:00 committed by GitHub
parent b08e3e63da
commit 6f351d5481
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3727,6 +3727,7 @@ class Commande extends CommonOrder
{
global $conf, $langs, $user;
$langs->load('orders');
$datas = [];
$nofetch = !empty($params['nofetch']);