number 0 in radio set

Is it just me, or is it standard for the caption of the value '0' does not show up in radio sets. See no zero.png image.

On templates/base/scripts/BxBaseFormView.php around line 1058, there is this line:

 

if (!isset($aInput['label']) or empty($aInput['label']))
            return '';

 

if I comment this line out then the '0's appear. See with zeros.png image. But, not knowing why they are not being displayed makes me question whether or not this is coded properly. Anyone have any suggestions/comments?

no zero.png · 75.7K · 208 views
with zeros.png · 81.6K · 191 views
caredesign.net
Quote · 8 Apr 2014

I think this is along the lines that counting starts at 1.  The numeral zero is a very important numeral as anyone that has worked with maths know.

I don't think there was any other reason except for the ideal that you start counting at 1.

Geeks, making the world a better place
Quote · 8 Apr 2014
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.