1
0
Fork 0
mirror of https://github.com/Oreolek/ifhub.club.git synced 2024-07-03 06:55:03 +03:00

Update engine/classes/Action.class.php

This commit is contained in:
kpoxas 2012-05-11 11:32:37 +03:00
parent d7dc7bd587
commit 820dbe8b56

View file

@ -167,7 +167,7 @@ abstract class Action extends LsObject {
}
$this->sCurrentEventName=$aEvent['name'];
$this->Hook_Run("action_event_".strtolower($this->sCurrentAction)."_before",array('event'=>$this->sCurrentEvent,'params'=>$this->GetParams()));
$result=call_user_func_array(array($this,$aEvent['method']),null);
$result=call_user_func_array(array($this,$aEvent['method']),null);
$this->Hook_Run("action_event_".strtolower($this->sCurrentAction)."_after",array('event'=>$this->sCurrentEvent,'params'=>$this->GetParams()));
return $result;
}