wiki.techinc.nl/includes/htmlform
Brad Jorsch 5f57d5d657 HTMLForm: Clean up 0 handling
PHP, particularly with in_array, really has problems with integer 0
versus non-numeric strings. Let's clean that up by converting values to
strings more agressively and using the $strict option to in_array.

Oddly enough, the one place where strict in_array was being used already
broke when If4175332 stringified the values in one array but not the
other.

Bug: 62268
Change-Id: Id34e654eb8d0e70d093b11445273e542e491e265
2014-03-05 15:40:48 -05:00
..
HTMLApiField.php
HTMLButtonField.php Add support for "tabindex" in HTMLFormField subclasses 2014-01-25 04:31:01 +00:00
HTMLCheckField.php Add support for "tabindex" in HTMLFormField subclasses 2014-01-25 04:31:01 +00:00
HTMLCheckMatrix.php Add support for "tabindex" in HTMLFormField subclasses 2014-01-25 04:31:01 +00:00
HTMLEditTools.php
HTMLFloatField.php
HTMLForm.php HTMLForm: Allow i18n of 'options' 2014-02-19 23:26:23 +00:00
HTMLFormField.php Merge "Fix number of parameters passed on recursive function call" 2014-02-28 16:30:34 +00:00
HTMLFormFieldRequiredOptionsException.php
HTMLHiddenField.php
HTMLInfoField.php
HTMLIntField.php
HTMLMultiSelectField.php HTMLForm: Clean up 0 handling 2014-03-05 15:40:48 -05:00
HTMLNestedFilterable.php
HTMLRadioField.php HTMLForm: Clean up 0 handling 2014-03-05 15:40:48 -05:00
HTMLSelectAndOtherField.php HTMLForm: Clean up 0 handling 2014-03-05 15:40:48 -05:00
HTMLSelectField.php HTMLForm: Clean up 0 handling 2014-03-05 15:40:48 -05:00
HTMLSelectOrOtherField.php HTMLForm: Clean up 0 handling 2014-03-05 15:40:48 -05:00
HTMLSubmitField.php
HTMLTextAreaField.php Add support for "tabindex" in HTMLFormField subclasses 2014-01-25 04:31:01 +00:00
HTMLTextField.php Add support for "tabindex" in HTMLFormField subclasses 2014-01-25 04:31:01 +00:00