CC-5599: Can drag and drop an edited repeating instance on calendar

Fixed by properly checking if a show is repeating or not
This commit is contained in:
drigato 2013-12-04 15:02:14 -05:00
parent ab435ce3ec
commit 86ed77a106

View file

@ -238,7 +238,7 @@ class Application_Service_CalendarService
throw new Exception(_("Permission denied")); throw new Exception(_("Permission denied"));
} }
if ($this->ccShow->getFirstCcShowDay()->isRepeating()) { if ($this->ccShow->isRepeating()) {
throw new Exception(_("Can't drag and drop repeating shows")); throw new Exception(_("Can't drag and drop repeating shows"));
} }