- handle script callback array correctly

This commit is contained in:
Steffen Schröder 2013-11-28 02:08:01 +01:00
parent 4e02b4b8ea
commit 2052434d05

View File

@ -182,6 +182,12 @@ class CallbackManager {
$this->triggerCallback(self::CB_MP_MODESCRIPTCALLBACK, $callback); $this->triggerCallback(self::CB_MP_MODESCRIPTCALLBACK, $callback);
break; break;
} }
case self::CB_MP_MODESCRIPTCALLBACKARRAY:
{
$this->handleScriptCallback($callback);
$this->triggerCallback(self::CB_MP_MODESCRIPTCALLBACKARRAY, $callback);
break;
}
default: default:
{ {
$this->triggerCallback($callbackName, $callback); $this->triggerCallback($callbackName, $callback);