remove useless param
/**
* Return label of a status
*
* @param int $statut Id statut
* @param int $mode 0=Long label, 1=Short label, 2=Picto + Short label, 3=Picto, 4=Picto + Long label, 5=Short label + Picto
* @param int $billed 1=Billed
* @return string Label of status
*/
function LibStatut($statut,$mode=0,$billed=0)
{
This commit is contained in:
parent
56cb0763d1
commit
1735229f15
@ -1128,7 +1128,7 @@ if ($resql)
|
|||||||
// Status
|
// Status
|
||||||
if (! empty($arrayfields['cf.fk_statut']['checked']))
|
if (! empty($arrayfields['cf.fk_statut']['checked']))
|
||||||
{
|
{
|
||||||
print '<td align="right" class="nowrap">'.$objectstatic->LibStatut($obj->fk_statut, 5, $obj->billed, 1).'</td>';
|
print '<td align="right" class="nowrap">'.$objectstatic->LibStatut($obj->fk_statut, 5, $obj->billed).'</td>';
|
||||||
if (! $i) $totalarray['nbfield']++;
|
if (! $i) $totalarray['nbfield']++;
|
||||||
}
|
}
|
||||||
// Billed
|
// Billed
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user