Add ( and )

This commit is contained in:
Mark Crane 2013-05-09 21:25:53 +00:00
parent 1a825be613
commit e2e8ffa527
1 changed files with 1 additions and 1 deletions

View File

@ -100,7 +100,7 @@ foreach($text as $key => $value) {
if (is_numeric($condition_expression_1)) {
//the number is numeric
$condition_expression_1 = str_replace("+", "\+", $condition_expression_1);
$condition_expression_1 = '^'.$condition_expression_1.'$';
$condition_expression_1 = '^('.$condition_expression_1.')$';
}
}
$dialplan_enabled = check_str($_POST["dialplan_enabled"]);