mirror of
https://github.com/Mibew/design.git
synced 2025-01-23 02:20: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)
|
$threadoperator = $nextagent ? get_operator_name($nextagent)
|
||||||
: ($thread->agentName ? $thread->agentName : "-");
|
: ($thread->agentName ? $thread->agentName : "-");
|
||||||
|
|
||||||
if ($threadoperator == "-" && $thread_info['groupname']) {
|
if ($threadoperator == "-" && ! empty($thread_info['groupname'])) {
|
||||||
$threadoperator = "- " . $thread_info['groupname'] . " -";
|
$threadoperator = "- " . $thread_info['groupname'] . " -";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user