Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Critical
-
Resolution: Fixed
-
Affects Version/s: 1.6.0, 1.6.1, 1.6.2, 1.7.0, 1.7.1, 1.7.2, 1.7.3, 1.7.4, 1.7.5, 1.7.6, 1.7.7, 1.7.8, 1.7.9, 1.8.0, 1.8.1, 1.8.2, 1.8.3, 1.8.4, 1.8.5, 1.9.0, 1.9.1, 1.9.2, 1.9.3, 1.9.4, 1.9.5, 1.9.6, 1.9.7, 1.9.8, 1.10.0, 1.10.1, 1.10.2, 1.10.3
-
Fix Version/s: 1.10.7
-
Component/s: Zend_Loader
-
Labels:None
Description
If is set variable $path in method removePrefixPath (Zend_Loader_PluginLoader) and $path doesn't exists in array $registry[$prefix] then function array_search return false (PHP 4.2.0+) instead null! Now method deletes $registry[$prefix][0] (equivalent to $registry[$prefix][false]), although it was not the intention.
Patch