mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-02-08 08:59:19 +00:00
Add a setting to control the grouping behavior if people want it back the old way.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user