From 03a8eab3d1ee0ea40868ea128a4a591d017a38e7 Mon Sep 17 00:00:00 2001 From: Dmitriy Simushev Date: Fri, 21 Nov 2014 15:49:03 +0000 Subject: [PATCH] Fix undefined index in ThreadProcessor::processFunction --- .../libs/classes/Mibew/RequestProcessor/ThreadProcessor.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mibew/libs/classes/Mibew/RequestProcessor/ThreadProcessor.php b/src/mibew/libs/classes/Mibew/RequestProcessor/ThreadProcessor.php index e6d4d037..58bac79e 100644 --- a/src/mibew/libs/classes/Mibew/RequestProcessor/ThreadProcessor.php +++ b/src/mibew/libs/classes/Mibew/RequestProcessor/ThreadProcessor.php @@ -286,7 +286,7 @@ class ThreadProcessor extends ClientSideProcessor implements // A function is called by a user. We need to check that the thread // is related with the user. $arguments = $context->getArgumentsList($function); - $thread_id = $arguments['threadid']; + $thread_id = $arguments['threadId']; // As defined in Mibew\API\Interaction\ChatInteraction "threadid" // argument is mandatory, but some function allows it to be null. In // such cases there is no thread and there is nothing to check.