From 000f7d549c80e74e8739348f5a733713668309ca Mon Sep 17 00:00:00 2001 From: James Date: Wed, 18 Apr 2012 12:25:10 -0400 Subject: [PATCH] CC-3652: Can't edit current show if it's a single instance when the timezone is in CEST(prague timezone) - fixed a bug where variable name wasn't changed --- airtime_mvc/application/models/Show.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/airtime_mvc/application/models/Show.php b/airtime_mvc/application/models/Show.php index daef8d2c7..42c360947 100644 --- a/airtime_mvc/application/models/Show.php +++ b/airtime_mvc/application/models/Show.php @@ -1314,7 +1314,7 @@ class Application_Model_Show { $show = new Application_Model_Show($show_id); - while($utcStartDateTime->getTimestamp() <= $p_dateTime->getTimestamp() + while($utcStartDateTime->getTimestamp() <= $p_populateUntilDateTime->getTimestamp() && (is_null($utcLastShowDateTime) || $utcStartDateTime->getTimestamp() < $utcLastShowDateTime->getTimestamp())){ list($utcStartDateTime, $utcEndDateTime) = Application_Model_Show::createUTCStartEndDateTime($start, $duration, $timezone);