From 7e3112e3d7fbe3e33701e9c12c8df4581b5c55c6 Mon Sep 17 00:00:00 2001 From: Naomi Aro Date: Mon, 16 Apr 2012 18:31:15 +0200 Subject: [PATCH] CC-3610 : Now Playing ->songs in the Now Playing do not reflect the changes affected changed END_OF_SHOW --- 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 a8297017f..9e3c5b8d2 100644 --- a/airtime_mvc/application/models/Show.php +++ b/airtime_mvc/application/models/Show.php @@ -1133,7 +1133,7 @@ class Application_Model_Show { try { //update the status flag in cc_schedule. $instances = CcShowInstancesQuery::create() - ->filterByDbStarts($current_timestamp, Criteria::GREATER_EQUAL) + ->filterByDbEnds($current_timestamp, Criteria::GREATER_THAN) ->filterByDbShowId($data['add_show_id']) ->find($con);