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
This commit is contained in:
James 2012-04-18 12:25:10 -04:00
parent 53a85204da
commit 000f7d549c
1 changed files with 1 additions and 1 deletions

View File

@ -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);