Index: event.php =================================================================== --- event.php (revision 13756) +++ event.php (working copy) @@ -225,22 +225,27 @@ */ function CallSubEvent($name) { - $child_event = new kEvent(); + if (strpos($name, ':') === false) { + // PrefixSpecial not specified -> use from current event + $name = $this->getPrefixSpecial() . ':' . $name; + } + + $child_event = new kEvent($name); $child_event->MasterEvent =& $this; - $child_event->Prefix = $this->Prefix; - $child_event->Special = $this->Special; - $child_event->Prefix_Special = $this->Prefix_Special; + $child_event->redirect = $this->redirect; $child_event->redirect_params = $this->redirect_params; $child_event->redirect_script = $this->redirect_script; - $child_event->Name = $name; + $child_event->specificParams = $this->specificParams; - $this->Application->HandleEvent( $child_event ); + $this->Application->HandleEvent($child_event); $this->status = $child_event->status; + $this->redirect = $child_event->redirect; $this->redirect_params = $child_event->redirect_params; $this->redirect_script = $child_event->redirect_script; + $this->specificParams = $child_event->specificParams; } /**