mirror of
https://github.com/Mibew/i18n.git
synced 2025-01-22 13:30:29 +03:00
Fix bug with redicection user to a group
This commit is contained in:
parent
1ecda26d3d
commit
2a656a58d5
@ -46,7 +46,8 @@ if (isset($_GET['nextGroup'])) {
|
||||
$thread->nextAgent = 0;
|
||||
$thread->groupId = $nextid;
|
||||
$thread->agentId = 0;
|
||||
$thread->agentName = "''";
|
||||
$thread->agentName = '';
|
||||
$thread->save();
|
||||
|
||||
$thread->postMessage(
|
||||
Thread::KIND_EVENTS,
|
||||
|
@ -149,7 +149,7 @@ function print_pending_threads($groupids, $since)
|
||||
$thread = Thread::createFromDbInfo($row);
|
||||
$thread_info = array(
|
||||
'thread' => $thread,
|
||||
'groupName' => $row['groupname']
|
||||
'groupname' => $row['groupname']
|
||||
);
|
||||
$thread_as_xml = thread_to_xml($thread_info);
|
||||
$output[] = $thread_as_xml;
|
||||
|
Loading…
Reference in New Issue
Block a user