more edl work
This commit is contained in:
parent
2365003114
commit
7101ff6065
2
edl.php
2
edl.php
@ -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 = $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);
|
||||||
$result = $query->execute();
|
$result = $query->execute();
|
||||||
$rows = $result->numRows();
|
$rows = sqlite_num_rows($result);
|
||||||
error_log("EDL: found " . $rows . " rows for media id " . $_REQUEST['media_id']);
|
error_log("EDL: found " . $rows . " rows for media id " . $_REQUEST['media_id']);
|
||||||
|
|
||||||
if ($result) {
|
if ($result) {
|
||||||
|
Loading…
Reference in New Issue
Block a user