Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 1.9.0
-
Component/s: Zend_Gdata
-
Labels:None
Description
r15576 introduced the following bug:
if (!class_exists($name . '_' . $class)) {
require_once 'Zend/Loader.php';
echo 'test';
@Zend_Loader::loadClass($name . '_' . $class);
}
which causes things to fail as the class_exists triggers the autoloader to load the class if an autoloader is registered. It should be !class_exists($name . '_' . $class, false) to disable autoloading when checking if the class exists.
Jeffrey,
What do you mean by "causes things to fail"? What is the failure you're experiencing?