2
0
forked from Wavyzz/dolibarr

Fix condition

This commit is contained in:
John BOTELLA
2019-03-05 17:14:29 +01:00
parent 6b98eecd32
commit 600f0c9fa6

View File

@@ -8045,9 +8045,8 @@ function dolGetStatus($statusLabel = '', $statusLabelShort = '', $html = '', $st
}
}
// Use new badge
if(!empty($conf->global->MAIN_STATUS_USES_CSS) && !empty($displayMode)){
elseif(!empty($conf->global->MAIN_STATUS_USES_CSS) && !empty($displayMode)){
$statusLabelShort = !empty($statusLabelShort)?$statusLabelShort:$statusLabel;