Fixing style errors.
This commit is contained in:
parent
7e3a3a4cf3
commit
f4c3d9d7bb
@ -400,7 +400,7 @@ while ($i < min($num, $limit))
|
||||
|
||||
// Type
|
||||
if (!empty($arrayfields['cpl.fk_type']['checked'])) {
|
||||
if($alltypeleaves[$holidaylogstatic->type]['code'] && $langs->trans($alltypeleaves[$holidaylogstatic->type]['code']) != $alltypeleaves[$holidaylogstatic->type]['code']) {
|
||||
if ($alltypeleaves[$holidaylogstatic->type]['code'] && $langs->trans($alltypeleaves[$holidaylogstatic->type]['code']) != $alltypeleaves[$holidaylogstatic->type]['code']) {
|
||||
$label = $langs->trans($alltypeleaves[$holidaylogstatic->type]['code']);
|
||||
} else {
|
||||
$label = $alltypeleaves[$holidaylogstatic->type]['label'];
|
||||
|
||||
Loading…
Reference in New Issue
Block a user