diff --git a/app/ring_groups/ring_group_edit.php b/app/ring_groups/ring_group_edit.php index 10db06e22c..37374e8e79 100644 --- a/app/ring_groups/ring_group_edit.php +++ b/app/ring_groups/ring_group_edit.php @@ -594,7 +594,6 @@ $ring_group_forward_enabled = $ring_group_forward_enabled ?? false; $ring_group_context = $ring_group_context ?? $domain_name; $ring_group_enabled = $ring_group_enabled ?? true; - $destination_enabled = $row['destination_enabled'] ?? false; //get the ring group destination array if ($action == "add") { @@ -628,6 +627,7 @@ $ring_group_destinations[$id]['destination_delay'] = ''; $ring_group_destinations[$id]['destination_timeout'] = ''; $ring_group_destinations[$id]['destination_prompt'] = ''; + $ring_group_destinations[$id]['destination_enabled'] = false; $id++; } @@ -983,8 +983,8 @@ echo " \n"; } echo " \n"; if ($input_toggle_style_switch) { echo " \n";