ZF-9721: Method removePrefixPath in Zend_Loader_PluginLoader.php deletes path with key 0
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.
Comments
Posted by Martin Haso? (hason) on 2010-04-21T01:04:26.000+0000
Patch
Posted by Ramon Henrique Ornelas (ramon) on 2010-07-16T17:15:08.000+0000
Fixed with the r22604.