Merge pull request #5799 from winsock/patch-6

Do not load base64 data into MOH edit by selecting the specific fields that are needed.
This commit is contained in:
FusionPBX
2021-03-10 00:05:05 -07:00
committed by GitHub
+2 -2
View File
@@ -365,7 +365,7 @@
*/ */
//recordings //recordings
$tmp_selected = false; $tmp_selected = false;
$sql = "select * from v_recordings where domain_uuid = :domain_uuid "; $sql = "select recording_name, recording_filename from v_recordings where domain_uuid = :domain_uuid ";
$parameters['domain_uuid'] = $domain_uuid; $parameters['domain_uuid'] = $domain_uuid;
$database = new database; $database = new database;
$recordings = $database->select($sql, $parameters, 'all'); $recordings = $database->select($sql, $parameters, 'all');
@@ -510,4 +510,4 @@
//include the footer //include the footer
require_once "resources/footer.php"; require_once "resources/footer.php";
?> ?>