From 8ccf6b6d267f62beeb1e2aa763b575eb90cd5aa9 Mon Sep 17 00:00:00 2001 From: markjcrane Date: Sat, 15 Nov 2025 09:04:59 -0700 Subject: [PATCH] Fix ring group destination_enabled toggle --- app/ring_groups/ring_group_edit.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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";