2
0
forked from Wavyzz/dolibarr

Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into 18.0

This commit is contained in:
ldestailleur
2025-06-02 14:27:14 +02:00
2 changed files with 2 additions and 1 deletions

View File

@@ -1068,7 +1068,7 @@ class BookKeeping extends CommonObject
$sqlwhere[] = natural_search($key, $value, 1, 1);
} elseif ($key == 't.code_journal' && !empty($value)) {
if (is_array($value)) {
$sqlwhere[] = natural_search("t.code_journal", join(',', $value), 3, 1);
$sqlwhere[] = natural_search("t.code_journal", (string) join(',', $value), 3, 1);
} else {
$sqlwhere[] = natural_search("t.code_journal", $value, 3, 1);
}

View File

@@ -697,6 +697,7 @@ class User extends CommonObject
'mo' => 'mrp',
'order' => 'commande',
'produit' => 'product',
'productlot' => 'produit',
'project' => 'projet',
'propale' => 'propal',
'shipping' => 'expedition',