Index: branches/5.2.x/core/kernel/utility/event.php =================================================================== diff -u -N -r15144 -r15145 --- branches/5.2.x/core/kernel/utility/event.php (.../event.php) (revision 15144) +++ branches/5.2.x/core/kernel/utility/event.php (.../event.php) (revision 15145) @@ -1,6 +1,6 @@ Application->hasObject($this->prefixSpecial) ) { $top_event = $this; @@ -282,9 +282,7 @@ $params['parent_event'] = $top_event; } - $object = $this->Application->recallObject($this->prefixSpecial, $this->pseudoClass, $params); - - return $object; + return $this->Application->recallObject($this->prefixSpecial, $this->pseudoClass, $params); } /** @@ -318,10 +316,10 @@ * @param bool $inherit * @access public */ - public function copyFrom(&$source_event, $inherit = false) + public function copyFrom($source_event, $inherit = false) { - if ($inherit) { - $this->MasterEvent =& $source_event; + if ( $inherit ) { + $this->MasterEvent = $source_event; } else { $this->status = $source_event->status;