From 4cfdda46b4bf6b77fe1c40207b6882be6ad1b234 Mon Sep 17 00:00:00 2001 From: Albert Santoni Date: Thu, 3 Dec 2015 16:57:18 -0500 Subject: [PATCH] SAAS-1266: Webstream metadata doesn't show in API or dashboard header --- airtime_mvc/application/models/Schedule.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/airtime_mvc/application/models/Schedule.php b/airtime_mvc/application/models/Schedule.php index 72acb6047..2d6a2a8f3 100644 --- a/airtime_mvc/application/models/Schedule.php +++ b/airtime_mvc/application/models/Schedule.php @@ -230,7 +230,7 @@ SQL; ->filterByDbId($currentMediaStreamId) ->findOne(); $currentWebstreamMetadata = CcWebstreamMetadataQuery::create() - ->filterByDbInstanceId($currentMedia["instance_id"]) + ->filterByDbInstanceId($currentMedia["id"]) ->orderByDbStartTime(Criteria::DESC) ->findOne(); $currentMediaName = $currentWebstream->getDbName();