From 07f02260dbe4ab04121c9dd07d9f671f535d25b8 Mon Sep 17 00:00:00 2001 From: drigato Date: Fri, 17 Jul 2015 09:57:24 -0400 Subject: [PATCH] Fix undefined index: nextMediaName --- airtime_mvc/application/models/Schedule.php | 1 + 1 file changed, 1 insertion(+) diff --git a/airtime_mvc/application/models/Schedule.php b/airtime_mvc/application/models/Schedule.php index 07e72136b..811b90bd7 100644 --- a/airtime_mvc/application/models/Schedule.php +++ b/airtime_mvc/application/models/Schedule.php @@ -288,6 +288,7 @@ SQL; ->orderByDbStarts(Criteria::ASC) ->findOne(); if (isset($nextMedia)) { + $nextMediaName = ""; $nextMediaFileId = $nextMedia->getDbFileId(); $nextMediaStreamId = $nextMedia->getDbStreamId(); if (isset($nextMediaFileId)) {