more edl work
This commit is contained in:
parent
6606d164b8
commit
235222276f
1
edl.php
1
edl.php
@ -25,6 +25,7 @@ if (isset($_REQUEST['media_id']) && $_REQUEST['media_id'] !== "") {
|
|||||||
$update_query->bindValue(':edl_name', $_REQUEST['edl_name']);
|
$update_query->bindValue(':edl_name', $_REQUEST['edl_name']);
|
||||||
$update_query->bindValue(':edl_contents', $_REQUEST['edl_contents']);
|
$update_query->bindValue(':edl_contents', $_REQUEST['edl_contents']);
|
||||||
}
|
}
|
||||||
|
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 em ON m.id = me.media_id WHERE m.id = :id");
|
||||||
|
Loading…
Reference in New Issue
Block a user