diff --git a/airtime_mvc/application/models/Schedule.php b/airtime_mvc/application/models/Schedule.php index 13d53df55..2993dc03d 100644 --- a/airtime_mvc/application/models/Schedule.php +++ b/airtime_mvc/application/models/Schedule.php @@ -64,13 +64,6 @@ SQL; { //Everything in this function must be done in UTC. You will get a swift kick in the pants if you mess that up. - if (!is_int($p_prev) || !is_int($p_next)) { - //must enter integers to specify ranges - Logging::info("Invalid range parameters: $p_prev or $p_next"); - - return array(); - } - // when timeEnd is unspecified, return to the default behaviour - set a range of 48 hours from current time if (!$utcTimeEnd) { $end = new DateTime(); diff --git a/airtime_mvc/application/views/scripts/embed/player.phtml b/airtime_mvc/application/views/scripts/embed/player.phtml index 24c664973..77e81fc33 100644 --- a/airtime_mvc/application/views/scripts/embed/player.phtml +++ b/airtime_mvc/application/views/scripts/embed/player.phtml @@ -239,7 +239,7 @@ // variables for updating the player's metadata var time_to_next_track_starts = 0; - var metadataTimer; + var metadataTimer = null; // Fetches the streams metadata from the Airtime live-info API // and attaches it to the player UI.