more edl work

This commit is contained in:
Sundog Jones 2024-09-17 08:57:59 -04:00
parent 8df2282d32
commit ab7d3a9c5a

View File

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