CC-5867: Can't edit show instance
This commit is contained in:
parent
cc19b18d7f
commit
e4bb97bcc4
|
@ -1039,6 +1039,9 @@ SQL;
|
|||
);
|
||||
$origStartDateTime->setTimezone(new DateTimeZone("UTC"));
|
||||
$ccShowInstance = $this->getInstance($origStartDateTime);
|
||||
if (!$ccShowInstance) {
|
||||
throw new Exception("Could not find show instance with start time: ".$origStartDateTime->format("Y-m-d H:i:s"));
|
||||
}
|
||||
}
|
||||
|
||||
$ccShowInstance->setDbShowId($this->ccShow->getDbId());
|
||||
|
|
Loading…
Reference in New Issue