Update extension_edit.php

This commit is contained in:
FusionPBX 2019-01-19 13:38:55 -07:00 committed by GitHub
parent fc867adfc6
commit f12097d303
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 0 deletions

View File

@ -131,6 +131,9 @@
if (!is_numeric($voicemail_id)) {
$voicemail_id = NULL;
}
//change toll allow delimiter
$toll_allow = str_replace(',',':', $toll_allow);
}
//delete the user from the v_extension_users
@ -769,6 +772,9 @@
$destinations = $prep_statement->fetchAll(PDO::FETCH_ASSOC);
unset ($sql, $prep_statement);
//change toll allow delimiter
$toll_allow = str_replace(':',',', $toll_allow);
//set the defaults
if (strlen($user_context) == 0) { $user_context = $_SESSION['domain_name']; }
if (strlen($limit_max) == 0) { $limit_max = '5'; }