diff --git a/app/ring_groups/ring_group_edit.php b/app/ring_groups/ring_group_edit.php index 68f5b025e1..64f5afd086 100644 --- a/app/ring_groups/ring_group_edit.php +++ b/app/ring_groups/ring_group_edit.php @@ -366,6 +366,9 @@ else { } //(count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) +//initialize the destinations object + $destination = new destinations; + //pre-populate the form if (strlen($ring_group_uuid) == 0) { $ring_group_uuid = check_str($_GET["id"]); } if (strlen($ring_group_uuid) > 0) { @@ -589,8 +592,8 @@ else { echo " ".$text['label-timeout_destination']."\n"; echo "\n"; echo "