Fix dolGetStatus param

This commit is contained in:
ATM john 2019-10-03 21:28:11 +02:00
parent edc4dc3727
commit 77f666a236

View File

@ -8164,13 +8164,13 @@ function dolGetStatus($statusLabel = '', $statusLabelShort = '', $html = '', $st
$statusLabelShort = !empty($statusLabelShort)?$statusLabelShort:$statusLabel;
if ($displayMode == 3) {
$return = dolGetBadge($statusLabel, '', $statusType, 'dot');
$return = dolGetBadge($statusLabel, '', $statusType, 'dot', $url);
}
elseif ($displayMode === 5) {
$return = dolGetBadge($statusLabelShort, $html, $statusType);
$return = dolGetBadge($statusLabelShort, $html, $statusType, '', $url);
}
else {
$return = dolGetBadge($statusLabel, $html, $statusType);
$return = dolGetBadge($statusLabel, $html, $statusType, '', $url);
}
}