diff --git a/application/models/Shows.php b/application/models/Shows.php index d5da2ac4b..9e93f1d0a 100644 --- a/application/models/Shows.php +++ b/application/models/Shows.php @@ -668,7 +668,7 @@ class Show { $start_time = $row["start_time"]; $end_time = $row["end_time"]; - $length = $this->getTimeUnScheduled($start_date, $start_date, $start_time, $end_time); + $length = $this->getTimeUnScheduled($start_date, $end_date, $start_time, $end_time); return StoredFile::searchPlaylistsForSchedule($length, $datatables); }