Fixing style errors.

This commit is contained in:
stickler-ci 2020-10-08 08:38:28 +00:00
parent 7e3a3a4cf3
commit f4c3d9d7bb

View File

@ -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'];