mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Update conference_control_edit.php
This commit is contained in:
@@ -71,11 +71,13 @@
|
||||
//add the conference_control_uuid
|
||||
if (!is_uuid($_POST["conference_control_uuid"])) {
|
||||
$conference_control_uuid = uuid();
|
||||
$_POST["conference_control_uuid"] = $conference_control_uuid;
|
||||
}
|
||||
|
||||
//prepare the array
|
||||
$array['conference_controls'][] = $_POST;
|
||||
$array['conference_controls'][0]['conference_control_uuid'] = $conference_control_uuid;
|
||||
$array['conference_controls'][0]['control_name'] = $control_name;
|
||||
$array['conference_controls'][0]['control_enabled'] = $control_enabled;
|
||||
$array['conference_controls'][0]['control_description'] = $control_description;
|
||||
|
||||
//save to the data
|
||||
$database = new database;
|
||||
|
||||
Reference in New Issue
Block a user