Fix bug with the 1st operator's message in inviation

Now it has correct agentId value
This commit is contained in:
Dmitriy Simushev 2013-05-28 08:36:37 +00:00
parent b33ccc4a84
commit 08617d41c6

View File

@ -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;