Merge pull request #18027 from frederic34/patch-14

fix warning
This commit is contained in:
Laurent Destailleur 2021-06-26 12:02:11 +02:00 committed by GitHub
commit 61761876a4
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;