Add a setting to control the grouping behavior if people want it back the old way.

This commit is contained in:
Andrew Querol
2021-01-14 14:20:38 -06:00
parent c16a4f60b5
commit 42b421e646
2 changed files with 9 additions and 1 deletions

View File

@@ -458,7 +458,7 @@ if (is_array($activity)) foreach ($activity as $extension => $ext) {
if (in_array($extension, $_SESSION['user']['extensions'])) {
$user_extensions[] = $block;
} elseif (!empty($ext['call_group'])) {
} elseif (!empty($ext['call_group']) && filter_var($_SESSION['operator_panel']['group_extensions']['boolean'], FILTER_VALIDATE_BOOLEAN)) {
$grouped_extensions[$ext['call_group']][] = $block;
} else {
$other_extensions[] = $block;