more edl work

This commit is contained in:
Sundog Jones 2024-09-17 09:05:34 -04:00
parent 2365003114
commit 7101ff6065

View File

@ -12,7 +12,7 @@ if (isset($_REQUEST['media_id']) && $_REQUEST['media_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);
$result = $query->execute();
$rows = $result->numRows();
$rows = sqlite_num_rows($result);
error_log("EDL: found " . $rows . " rows for media id " . $_REQUEST['media_id']);
if ($result) {