Make sure that the follow me numbers gets processed in the correct order.

This commit is contained in:
Mark Crane 2012-07-31 16:56:56 +00:00
parent 656c3f56b9
commit 90a0e23bea
1 changed files with 1 additions and 0 deletions

View File

@ -439,6 +439,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
if ($row["hunt_group_type"] == 'call_forward' || $row["hunt_group_type"] == 'follow_me_sequence' || $row["hunt_group_type"] == 'follow_me_simultaneous') {
$sql = "select * from v_hunt_group_destinations ";
$sql .= "where hunt_group_uuid = '$hunt_group_uuid' ";
$sql .= "order by destination_order asc ";
$prep_statement_2 = $db->prepare(check_sql($sql));
$prep_statement_2->execute();
$result2 = $prep_statement_2->fetchAll(PDO::FETCH_NAMED);