mirror of
https://github.com/Mibew/design.git
synced 2025-01-23 02:20:34 +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'])
|
$arguments += empty($callback['arguments'])
|
||||||
? array()
|
? array()
|
||||||
: $callback['arguments'];
|
: $callback['arguments'];
|
||||||
call_user_func_array($function, $arguments);
|
call_user_func_array($function, array($arguments));
|
||||||
}
|
}
|
||||||
|
return true;
|
||||||
} else {
|
} else {
|
||||||
// Process request
|
// Process request
|
||||||
$arguments = $this->processRequest($request, false);
|
$arguments = $this->processRequest($request, false);
|
||||||
|
Loading…
Reference in New Issue
Block a user