more edl work
This commit is contained in:
parent
7101ff6065
commit
649e881b4b
4
edl.php
4
edl.php
@ -12,8 +12,8 @@ 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 = sqlite_num_rows($result);
|
||||
error_log("EDL: found " . $rows . " rows for media id " . $_REQUEST['media_id']);
|
||||
$row = $result->fetchArray(SQLITE3_ASSOC);
|
||||
error_log(print_r($row, true));
|
||||
|
||||
if ($result) {
|
||||
// record exists
|
||||
|
Loading…
Reference in New Issue
Block a user