diff --git a/airtime_mvc/application/views/scripts/embed/player.phtml b/airtime_mvc/application/views/scripts/embed/player.phtml index 5b4daf58c..051a50e09 100644 --- a/airtime_mvc/application/views/scripts/embed/player.phtml +++ b/airtime_mvc/application/views/scripts/embed/player.phtml @@ -252,7 +252,7 @@ success: function(data) { if (data.current === null) { - if (data.currentShow != null) { + if (data.currentShow != null && data.currentShow.length > 0) { //Master/show source have no current track but they do have a current show. $("p.now_playing").html(data.currentShow[0].name); } else {