diff -bBrU 5 mythweb-orig/modules/tv/search.php mythweb/modules/tv/search.php
old
|
new
|
|
311 | 311 | $query .= '('.implode(' AND ', $extra_query).')'; |
312 | 312 | } |
313 | 313 | |
314 | 314 | // Search! |
315 | 315 | if (!empty($query)) |
| 316 | $tmpdate = strtotime($_SESSION['search']['starttime']); |
| 317 | if ($tmpdate == false) { |
316 | 318 | $Results =& load_all_program_data(time(), strtotime('+1 month'), NULL, false, $query); |
| 319 | } else { |
| 320 | $Results =& load_all_program_data($tmpdate, strtotime('+1 month'), NULL, false, $query); |
| 321 | } |
317 | 322 | |
318 | 323 | } |
319 | 324 | |
320 | 325 | // Query cleanup |
321 | 326 | if (empty($Results)) |