From 4daa34d14b354ec48f70b18a01c567a1ac232843 Mon Sep 17 00:00:00 2001 From: denise Date: Wed, 9 Oct 2013 17:11:39 -0400 Subject: [PATCH] CC-5364: Problem with drag & drop recording show on calendar --- airtime_mvc/application/services/CalendarService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/airtime_mvc/application/services/CalendarService.php b/airtime_mvc/application/services/CalendarService.php index 108514260..01a770ead 100644 --- a/airtime_mvc/application/services/CalendarService.php +++ b/airtime_mvc/application/services/CalendarService.php @@ -258,7 +258,7 @@ class Application_Service_CalendarService $minRebroadcastStart = self::addDeltas($newEndsDateTime, 0, 60); //check if we are moving a recorded show less than 1 hour before any of its own rebroadcasts. $rebroadcasts = CcShowInstancesQuery::create() - ->filterByDbOriginalShow($this->_instanceId) + ->filterByDbOriginalShow($this->ccShow->getDbId()) ->filterByDbStarts($minRebroadcastStart->format('Y-m-d H:i:s'), Criteria::LESS_THAN) ->find();