more edl work
This commit is contained in:
parent
8df2282d32
commit
ab7d3a9c5a
2
edl.php
2
edl.php
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user