diff --git a/modules/tv/detail.php b/modules/tv/detail.php
index 2eaaa52..a9814a8 100644
a
|
b
|
|
307 | 307 | |
308 | 308 | // Parse the list of scheduled recordings for possible conflicts |
309 | 309 | $conflicting_shows = array(); |
310 | | foreach (Schedule::findScheduled() as $callsign => $shows) { |
| 310 | $scheduled = Schedule::findScheduled(); |
| 311 | if (empty($scheduled)) { |
| 312 | $scheduled = array(); |
| 313 | } |
| 314 | |
| 315 | foreach ($scheduled as $callsign => $shows) { |
311 | 316 | // Now the shows in this channel |
312 | 317 | foreach ($shows as $starttime => &$show_group) { |
313 | 318 | // Clearly not a match |