Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Minor
-
Resolution: Cannot Reproduce
-
Affects Version/s: 1.10.4
-
Fix Version/s: 1.10.7
-
Component/s: Zend_Currency
-
Labels:None
Description
/Zend/Currency line 139
if ($value === null) {
if (is_array($value) && isset($options['value'])) {
...
If something is null it can not be an array, it is always false.
and later in line 147 is
if (is_array($value)) {
It's not bug and it's not creating an error but also its not clear to understand, I suggest use:
elseif (is_array($value)) {
because it's continue of pre validation and configuration.
ps
Closing as not reproduceable.
The given code lines do not exist within trunk or branch.