Forums
(@pugaj)
7 years, 4 months ago
@navzme It’s ok to support only 5.6 and above. But I think that to write echo (!empty($value=='true'))?'checked':''; instead of echo (($value == 'true') ? 'checked' : ''); is just nonsense…
echo (!empty($value=='true'))?'checked':'';
echo (($value == 'true') ? 'checked' : '');