more edl work

This commit is contained in:
Sundog Jones 2024-09-16 16:33:15 -04:00
parent 6606d164b8
commit 235222276f

View File

@ -25,6 +25,7 @@ if (isset($_REQUEST['media_id']) && $_REQUEST['media_id'] !== "") {
$update_query->bindValue(':edl_name', $_REQUEST['edl_name']);
$update_query->bindValue(':edl_contents', $_REQUEST['edl_contents']);
}
error_log($update_query->getSQL(true));
$update_result = $update_query->execute();
if ($update_result) {
$query = $db->prepare("SELECT * FROM media m JOIN media_edls em ON m.id = me.media_id WHERE m.id = :id");