diff --git a/app/call_block/call_block_edit.php b/app/call_block/call_block_edit.php index 4f5a44667a..aa08118048 100644 --- a/app/call_block/call_block_edit.php +++ b/app/call_block/call_block_edit.php @@ -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; diff --git a/core/groups/group_permissions.php b/core/groups/group_permissions.php index c47fcbb750..2368d626d8 100644 --- a/core/groups/group_permissions.php +++ b/core/groups/group_permissions.php @@ -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"])) {