mirror of
https://github.com/Mibew/tray.git
synced 2025-01-22 18:10:34 +03:00
Fix notice in setup_groups_select function
This commit is contained in:
parent
f904f05dc9
commit
037135cf71
@ -229,6 +229,7 @@ function setup_groups_select($groupid, $markoffline)
|
|||||||
$val = "";
|
$val = "";
|
||||||
$selectedgroupid = $groupid;
|
$selectedgroupid = $groupid;
|
||||||
$groupdescriptions = array();
|
$groupdescriptions = array();
|
||||||
|
$defaultdescription = "";
|
||||||
foreach ($allgroups as $k) {
|
foreach ($allgroups as $k) {
|
||||||
$groupname = $k['vclocalname'];
|
$groupname = $k['vclocalname'];
|
||||||
if ($k['inumofagents'] == 0 || ($groupid && $k['parent'] != $groupid && $k['groupid'] != $groupid )) {
|
if ($k['inumofagents'] == 0 || ($groupid && $k['parent'] != $groupid && $k['groupid'] != $groupid )) {
|
||||||
|
Loading…
Reference in New Issue
Block a user