From 303935b9d2e60de48bc0d4ca64a31365306eb847 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Mon, 23 Dec 2024 12:25:22 -0700 Subject: [PATCH] Fix greeting when using phrases After saving a phrase for the greeting it would save but it wouldn't show the correct label. It would continue to play the phrase but show the UUID. --- app/ring_groups/ring_group_edit.php | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/app/ring_groups/ring_group_edit.php b/app/ring_groups/ring_group_edit.php index ab25162c6e..bcd7542f7f 100644 --- a/app/ring_groups/ring_group_edit.php +++ b/app/ring_groups/ring_group_edit.php @@ -839,6 +839,16 @@ unset($selected); } } + else if ($key == 'phrases') { + if (!empty($instance_value) && $instance_value == $row["value"]) { + $selected = "selected='selected'"; + $playable = ''; + $found = true; + } + else { + unset($selected); + } + } else { unset($selected); }