From 1d4cac01d17ff5c91f58af3ee7a18b6258b89951 Mon Sep 17 00:00:00 2001 From: Dmitriy Simushev Date: Wed, 26 Sep 2012 13:07:54 +0000 Subject: [PATCH] Fix bug with callback's arguments in RequestProcessor class --- src/messenger/webim/libs/classes/request_processor.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/messenger/webim/libs/classes/request_processor.php b/src/messenger/webim/libs/classes/request_processor.php index 7e16c37c..91ad67bc 100644 --- a/src/messenger/webim/libs/classes/request_processor.php +++ b/src/messenger/webim/libs/classes/request_processor.php @@ -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);