Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Minor
-
Resolution: Duplicate
-
Affects Version/s: 1.10.0
-
Fix Version/s: None
-
Component/s: Zend_Application
-
Labels:None
Description
Internally all option keys are stored lowercase. The method hasOption() doesn't convert the given key to lowercase before looking it up. This also affects the method getOption() which uses hasOption().
<application.ini>
[production]
phpSettings.display_startup_errors = 0
</application.ini>
$bootstrap->hasOption('phpSettings') return false, should return true
$bootstrap->hasOption('phpsettings') returns true
Issue Links
| This issue duplicates: | ||||
| ZF-10199 | CLONE -getOption not working with uppercase $key |
|
|
|
Fixed in r22664 - see ticket
ZF-10199ZF-10199