Merge pull request #5800 from winsock/patch-7

Update recording edit to not pull base64 data by selecting the specific fields that are needed.
This commit is contained in:
FusionPBX
2021-03-10 00:03:45 -07:00
committed by GitHub

View File

@@ -148,7 +148,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
//pre-populate the form
if (count($_GET)>0 && $_POST["persistformvar"] != "true") {
$recording_uuid = $_GET["id"];
$sql = "select * from v_recordings ";
$sql = "select recording_name, recording_filename, recording_description from v_recordings ";
$sql .= "where domain_uuid = :domain_uuid ";
$sql .= "and recording_uuid = :recording_uuid ";
$parameters['domain_uuid'] = $domain_uuid;
@@ -237,4 +237,4 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
//include the footer
require_once "resources/footer.php";
?>
?>