mirror of
https://github.com/Mibew/mibew.git
synced 2024-11-15 16:44:11 +03:00
Fix bug with callback's arguments in RequestProcessor class
This commit is contained in:
parent
7e49da1999
commit
1d4cac01d1
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user