mirror of
https://github.com/Mibew/mibew.git
synced 2025-03-03 18:38:31 +03:00
Fix undefined index in ThreadProcessor::processFunction
This commit is contained in:
parent
428c592139
commit
03a8eab3d1
@ -286,7 +286,7 @@ class ThreadProcessor extends ClientSideProcessor implements
|
|||||||
// A function is called by a user. We need to check that the thread
|
// A function is called by a user. We need to check that the thread
|
||||||
// is related with the user.
|
// is related with the user.
|
||||||
$arguments = $context->getArgumentsList($function);
|
$arguments = $context->getArgumentsList($function);
|
||||||
$thread_id = $arguments['threadid'];
|
$thread_id = $arguments['threadId'];
|
||||||
// As defined in Mibew\API\Interaction\ChatInteraction "threadid"
|
// As defined in Mibew\API\Interaction\ChatInteraction "threadid"
|
||||||
// argument is mandatory, but some function allows it to be null. In
|
// argument is mandatory, but some function allows it to be null. In
|
||||||
// such cases there is no thread and there is nothing to check.
|
// such cases there is no thread and there is nothing to check.
|
||||||
|
Loading…
Reference in New Issue
Block a user