mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
FIX warehouse list status (#31902)
This commit is contained in:
parent
f80dd66ecc
commit
4432fa7913
|
|
@ -255,7 +255,7 @@ if ($separatedPMP) {
|
|||
}
|
||||
$sql .= " WHERE t.entity IN (".getEntity('stock').")";
|
||||
foreach ($search as $key => $val) {
|
||||
if (array_key_exists($key, $object->fields)) {
|
||||
if (array_key_exists($key, $object->fields)||$key == 'status') {
|
||||
$class_key = $key;
|
||||
if ($class_key == 'status') {
|
||||
$class_key = 'statut'; // remove this after refactoring entrepot.class property statut to status
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user