Update extension_edit.php

This commit is contained in:
FusionPBX 2017-01-05 02:32:06 -07:00 committed by GitHub
parent 352f6c4ca5
commit e2284ba408
1 changed files with 7 additions and 9 deletions

View File

@ -339,10 +339,8 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
}
else {
//if the user_context was not set then set the default value
if (strlen($user_context) == 0) {
$user_context = $_SESSION['domain_name'];
}
}
//prevent users from bypassing extension limit by using range
if ($_SESSION['limit']['extensions']['numeric'] != '') {