Index: branches/5.2.x/core/kernel/kbase.php =================================================================== diff -u -N -r14699 -r15130 --- branches/5.2.x/core/kernel/kbase.php (.../kbase.php) (revision 14699) +++ branches/5.2.x/core/kernel/kbase.php (.../kbase.php) (revision 15130) @@ -1,6 +1,6 @@ Application =& kApplication::Instance(); - } - else { - $this->Application =& $application; - } - + $this->Application =& kApplication::Instance(); $this->Conn =& $this->Application->GetADODBConnection(); } @@ -253,7 +246,7 @@ * @return void * @access public */ - public function setParentEvent(&$event) + public function setParentEvent($event) { $this->parentEvent =& $event; }