CC-2956: Undefined variable: endDateTime in
/usr/share/airtime/application/models/Show.php on line 807, referer: http://localhost/Schedule - fixed
This commit is contained in:
parent
42d2393bdd
commit
20e9002310
4 changed files with 14 additions and 6 deletions
|
@ -804,7 +804,7 @@ class Application_Model_Show {
|
|||
|
||||
$utcStartDateTime->add(new DateInterval("P".$daysAdd."D"));
|
||||
}
|
||||
if (is_null($endDateTime) || $utcStartDateTime->getTimestamp() <= $endDateTime->getTimestamp()) {
|
||||
if (is_null($endDate) || $utcStartDateTime->getTimestamp() <= $endDateTime->getTimestamp()) {
|
||||
$showDay = new CcShowDays();
|
||||
$showDay->setDbFirstShow($utcStartDateTime->format("Y-m-d"));
|
||||
$showDay->setDbLastShow($endDate);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue