Index: branches/5.2.x/core/kernel/utility/factory.php =================================================================== diff -u -N -r15130 -r15137 --- branches/5.2.x/core/kernel/utility/factory.php (.../factory.php) (revision 15130) +++ branches/5.2.x/core/kernel/utility/factory.php (.../factory.php) (revision 15137) @@ -1,6 +1,6 @@ Application->isDebugMode() ) { $this->Application->Debugger->appendHTML('Creating object: Pseudo class: ' . $pseudo_class . ' Prefix: ' . $name); $this->Application->Debugger->appendTrace(); } - $this->Storage[$name] =& $this->makeClass($pseudo_class, $arguments); + $this->Storage[$name] = $this->makeClass($pseudo_class, $arguments); $this->Storage[$name]->Init($ret['prefix'], $ret['special']); $this->Application->EventManager->runBuildEvent($ret['prefix_special'], $pseudo_class, $event_params); @@ -224,7 +223,7 @@ * @return kBase * @access public */ - public function &makeClass($pseudo_class, $arguments = Array ()) + public function makeClass($pseudo_class, $arguments = Array ()) { $real_class = $this->realClasses[$pseudo_class];