fix warning

This commit is contained in:
Frédéric FRANCE 2021-06-24 21:01:23 +02:00 committed by GitHub
parent a4e6eb12a8
commit 06522d5b2e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -116,7 +116,7 @@ if (GETPOST('button_removefilter_x', 'alpha') || GETPOST('button_removefilter.x'
}
$warehouseStatus = array();
if ($conf->global->ENTREPOT_EXTRA_STATUS) {
if (!empty($conf->global->ENTREPOT_EXTRA_STATUS)) {
//$warehouseStatus[] = Entrepot::STATUS_CLOSED;
$warehouseStatus[] = Entrepot::STATUS_OPEN_ALL;
$warehouseStatus[] = Entrepot::STATUS_OPEN_INTERNAL;