mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Fix parameter array not unset (#7621)
* Fix parameter array not unset * Fix parameter array not unset
This commit is contained in:
@@ -342,6 +342,7 @@ if (permission_exists('call_block_all') || permission_exists('call_block_ring_gr
|
||||
$sql .= "order by voicemail_id asc ";
|
||||
$parameters['domain_uuid'] = $_SESSION['domain_uuid'];
|
||||
$voicemails = $database->select($sql, $parameters);
|
||||
unset($sql, $parameters);
|
||||
|
||||
//create token
|
||||
$object = new token;
|
||||
|
||||
@@ -121,6 +121,7 @@
|
||||
$parameters['group_name'] = $group_name;
|
||||
$parameters['group_uuid'] = $group_uuid;
|
||||
$group_permissions = $database->select($sql, $parameters, 'all');
|
||||
unset($sql, $parameters);
|
||||
|
||||
//process the user data and save it to the database
|
||||
if (!empty($_POST) > 0 && empty($_POST["persistformvar"])) {
|
||||
|
||||
Reference in New Issue
Block a user