mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Fix recording setting in extension (#2246)
* Fix recording setting in extension If as a superadmin you add recording to an extension, then the admin for the domain (ie member of group: admin) goes in and edits the extension, the recording property will be set to false. * Update extension_edit.php
This commit is contained in:
@@ -675,7 +675,9 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
|
||||
}
|
||||
$sql .= "call_group = '$call_group', ";
|
||||
$sql .= "call_screen_enabled = '$call_screen_enabled', ";
|
||||
$sql .= "user_record = '$user_record', ";
|
||||
if (permission_exists('extension_user_record')) {
|
||||
$sql .= "user_record = '$user_record', ";
|
||||
}
|
||||
$sql .= "hold_music = '$hold_music', ";
|
||||
$sql .= "auth_acl = '$auth_acl', ";
|
||||
$sql .= "cidr = '$cidr', ";
|
||||
|
||||
Reference in New Issue
Block a user