- handle script callback array correctly
This commit is contained in:
parent
4e02b4b8ea
commit
2052434d05
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user