diff --git a/src/messenger/webim/operator/canned.php b/src/messenger/webim/operator/canned.php index e479058c..d0b98bf8 100644 --- a/src/messenger/webim/operator/canned.php +++ b/src/messenger/webim/operator/canned.php @@ -57,7 +57,11 @@ if ($groupid) { $allgroups = in_isolation($operator)?get_all_groups_for_operator($operator):get_all_groups(); $page['groups'] = array(); -$page['groups'][] = array('groupid' => '', 'vclocalname' => getlocal("page.gen_button.default_group")); +$page['groups'][] = array( + 'groupid' => '', + 'vclocalname' => getlocal("page.gen_button.default_group"), + 'level' => 0 +); foreach ($allgroups as $g) { $page['groups'][] = $g; }