mirror of
https://github.com/Mibew/tray.git
synced 2025-01-22 18:10:34 +03:00
Fix undefined groupname in /operator/update.php
This commit is contained in:
parent
498a34ae19
commit
7c661b11c6
@ -64,7 +64,7 @@ function thread_to_xml($thread_info)
|
||||
$threadoperator = $nextagent ? get_operator_name($nextagent)
|
||||
: ($thread->agentName ? $thread->agentName : "-");
|
||||
|
||||
if ($threadoperator == "-" && $thread_info['groupname']) {
|
||||
if ($threadoperator == "-" && ! empty($thread_info['groupname'])) {
|
||||
$threadoperator = "- " . $thread_info['groupname'] . " -";
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user