Fix bug with callback's arguments in RequestProcessor class

This commit is contained in:
Dmitriy Simushev 2012-09-26 13:07:54 +00:00
parent 7e49da1999
commit 1d4cac01d1

View File

@ -150,8 +150,9 @@ abstract class RequestProcessor {
$arguments += empty($callback['arguments'])
? array()
: $callback['arguments'];
call_user_func_array($function, $arguments);
call_user_func_array($function, array($arguments));
}
return true;
} else {
// Process request
$arguments = $this->processRequest($request, false);