Fix dolGetStatus param
This commit is contained in:
parent
edc4dc3727
commit
77f666a236
@ -8164,13 +8164,13 @@ function dolGetStatus($statusLabel = '', $statusLabelShort = '', $html = '', $st
|
|||||||
$statusLabelShort = !empty($statusLabelShort)?$statusLabelShort:$statusLabel;
|
$statusLabelShort = !empty($statusLabelShort)?$statusLabelShort:$statusLabel;
|
||||||
|
|
||||||
if ($displayMode == 3) {
|
if ($displayMode == 3) {
|
||||||
$return = dolGetBadge($statusLabel, '', $statusType, 'dot');
|
$return = dolGetBadge($statusLabel, '', $statusType, 'dot', $url);
|
||||||
}
|
}
|
||||||
elseif ($displayMode === 5) {
|
elseif ($displayMode === 5) {
|
||||||
$return = dolGetBadge($statusLabelShort, $html, $statusType);
|
$return = dolGetBadge($statusLabelShort, $html, $statusType, '', $url);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
$return = dolGetBadge($statusLabel, $html, $statusType);
|
$return = dolGetBadge($statusLabel, $html, $statusType, '', $url);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user