Update extension_edit.php

This commit is contained in:
FusionPBX 2017-01-05 02:29:43 -07:00 committed by GitHub
parent 721549f4c1
commit bbf32464ad
1 changed files with 1 additions and 3 deletions

View File

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