From 08617d41c6c0c3fdc893dfcb2d9408484001ddc4 Mon Sep 17 00:00:00 2001 From: Dmitriy Simushev Date: Tue, 28 May 2013 08:36:37 +0000 Subject: [PATCH] Fix bug with the 1st operator's message in inviation Now it has correct agentId value --- src/messenger/webim/libs/invitation.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/messenger/webim/libs/invitation.php b/src/messenger/webim/libs/invitation.php index 01d1c535..0fd0f9c5 100644 --- a/src/messenger/webim/libs/invitation.php +++ b/src/messenger/webim/libs/invitation.php @@ -122,7 +122,8 @@ function invitation_invite($visitor_id, $operator) { $thread->postMessage( Thread::KIND_AGENT, getlocal("invitation.message"), - $operator_name + $operator_name, + $operator['operatorid'] ); return $thread;