CC-5289: Exception about linked show in zendphp.log
This commit is contained in:
parent
4cbbd1145b
commit
1046a0916d
1 changed files with 16 additions and 14 deletions
|
@ -248,6 +248,7 @@ class Application_Service_SchedulerService
|
|||
}
|
||||
} //foreach linked instance
|
||||
|
||||
if (!empty($values)) {
|
||||
$insert_sql = "INSERT INTO cc_schedule (starts, ends, ".
|
||||
"clip_length, fade_in, fade_out, cue_in, cue_out, ".
|
||||
"file_id, stream_id, instance_id, position) VALUES ".
|
||||
|
@ -264,6 +265,7 @@ class Application_Service_SchedulerService
|
|||
"WHERE show_id = {$ccShow->getDbId()}";
|
||||
Application_Common_Database::prepareAndExecute(
|
||||
$update_sql, array(), Application_Common_Database::EXECUTE);
|
||||
}
|
||||
|
||||
} //if at least one linked instance has content
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue