Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 1.10.5
-
Fix Version/s: 1.10.6
-
Component/s: Zend_Currency
-
Labels:None
Description
I think there is a bug in Zend/Currency.php, Line: 140:
if (is_array($value) && isset($options['value'])) {
.. which should be :
if (isset($options['value'])) {
.. because if variable $value is strictly null it will never by an array and 'value' from the options array will be skipped and the one from $this->_options will be used.
The framework code works like expected.
Please give some reproduceable code for the problem you have.