Update extension_edit.php
This commit is contained in:
@@ -131,6 +131,9 @@
|
|||||||
if (!is_numeric($voicemail_id)) {
|
if (!is_numeric($voicemail_id)) {
|
||||||
$voicemail_id = NULL;
|
$voicemail_id = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//change toll allow delimiter
|
||||||
|
$toll_allow = str_replace(',',':', $toll_allow);
|
||||||
}
|
}
|
||||||
|
|
||||||
//delete the user from the v_extension_users
|
//delete the user from the v_extension_users
|
||||||
@@ -769,6 +772,9 @@
|
|||||||
$destinations = $prep_statement->fetchAll(PDO::FETCH_ASSOC);
|
$destinations = $prep_statement->fetchAll(PDO::FETCH_ASSOC);
|
||||||
unset ($sql, $prep_statement);
|
unset ($sql, $prep_statement);
|
||||||
|
|
||||||
|
//change toll allow delimiter
|
||||||
|
$toll_allow = str_replace(':',',', $toll_allow);
|
||||||
|
|
||||||
//set the defaults
|
//set the defaults
|
||||||
if (strlen($user_context) == 0) { $user_context = $_SESSION['domain_name']; }
|
if (strlen($user_context) == 0) { $user_context = $_SESSION['domain_name']; }
|
||||||
if (strlen($limit_max) == 0) { $limit_max = '5'; }
|
if (strlen($limit_max) == 0) { $limit_max = '5'; }
|
||||||
|
|||||||
Reference in New Issue
Block a user