From 5a9b734a51c2e0b00eabaf62daf809eb48fb9b01 Mon Sep 17 00:00:00 2001 From: Andrew Querol Date: Tue, 9 Mar 2021 16:36:52 -0600 Subject: [PATCH] Update recording edit to not pull base64 data This is less of an improvement than the other changes I proposed since it's only doing it for one file. But it still doesn't need to pull that recordings base64 data here if it has it. --- app/recordings/recording_edit.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/recordings/recording_edit.php b/app/recordings/recording_edit.php index a12897f999..7091696773 100644 --- a/app/recordings/recording_edit.php +++ b/app/recordings/recording_edit.php @@ -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"; -?> \ No newline at end of file +?>