mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Remove the string length limitation on the inbound route add tool.
This commit is contained in:
@@ -73,7 +73,6 @@ require_once "includes/paging.php";
|
||||
}
|
||||
else {
|
||||
if (strlen($condition_field_1) == 0) { $condition_field_1 = "destination_number"; }
|
||||
if (strlen($condition_expression_1) < 6) { $msg .= "The destination number must be 5 or more digits.<br>\n"; }
|
||||
if (is_numeric($condition_expression_1)) {
|
||||
//the number is numeric
|
||||
$condition_expression_1 = '^'.$condition_expression_1.'$';
|
||||
@@ -125,7 +124,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
|
||||
$sql .= "dialplan_uuid, ";
|
||||
$sql .= "app_uuid, ";
|
||||
$sql .= "dialplan_name, ";
|
||||
$sql .= "dialplan_order , ";
|
||||
$sql .= "dialplan_order, ";
|
||||
$sql .= "dialplan_context, ";
|
||||
$sql .= "dialplan_enabled, ";
|
||||
$sql .= "dialplan_description ";
|
||||
|
||||
Reference in New Issue
Block a user