Update destination_edit.php

This commit is contained in:
FusionPBX 2019-04-29 14:27:54 -06:00 committed by GitHub
parent cf1003d989
commit 50b840ddde
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -113,7 +113,7 @@
$destination_type_text = check_str($_POST["destination_type_text"]);
$destination_carrier = trim($_POST["destination_carrier"]);
//convert the number to a regular expression
$destination_number_regex = string_to_regex($destination_number);
$destination_number_regex = string_to_regex($destination_number, $destination_prefix);
$_POST["destination_number_regex"] = $destination_number_regex;
//get the destination app and data
$destination_array = explode(":", $_POST["destination_action"], 2);