diff options
author | Derek Jones <derek.jones@ellislab.com> | 2007-07-12 01:40:14 +0200 |
---|---|---|
committer | Derek Jones <derek.jones@ellislab.com> | 2007-07-12 01:40:14 +0200 |
commit | c80593c537117b11e2f75287fc9a18e0d0d2bf5a (patch) | |
tree | 6103149cdda27aedd07bf13573daec62eca0475e /user_guide | |
parent | eea2bdaaffcbee1a9efb56e60ae5712e30873f87 (diff) |
type cast $key => $val pair in $options array as strings for friendlier handling of setting options as 'selected'
Diffstat (limited to 'user_guide')
-rw-r--r-- | user_guide/changelog.html | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/user_guide/changelog.html b/user_guide/changelog.html index 67baae43e..fbcbc544e 100644 --- a/user_guide/changelog.html +++ b/user_guide/changelog.html @@ -90,6 +90,7 @@ Change Log <li>Modified the is_image() method in the Upload library to take into account Windows IE 6/7 eccentricities when dealing with MIMEs</li>
<li>Modified XSS Cleaning routine to be more performance friendly and compatible with PHP 5.2's new PCRE backtrack and recursion limits.</li>
<li>Modified the URL Helper to type cast the $title as a string in case a numeric value is supplied</li>
+ <li>Modified Form Helper form_dropdown() to type cast the keys and values of the options array as strings, allowing numeric values to be properly set as 'selected'</li>
<li>Deprecated the use if <kbd>is_numeric()</kbd> in various places since it allows periods. Due to compatibility problems with <kbd>ctype_digit()</kbd>, making it unreliable in some installations, the following regular expression was used instead: <kbd>preg_match("/[^0-9]/", $n)</kbd></li>
<li>Deprecated: APPVER has been deprecated and replaced with CI_VERSION for clarity. </li>
</ul>
|