Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/modules/tv/classes/Schedule.php b/modules/tv/classes/Schedule.php
- index 1e696eb..5f1b00f 100644
- --- a/modules/tv/classes/Schedule.php
- +++ b/modules/tv/classes/Schedule.php
- @@ -275,6 +275,10 @@ class Schedule extends MythBase {
- }
- // Update the type, in case it changed
- $this->type = $new_type;
- + // Clear the the search column for non-manual overrides.
- + if (($this->type == rectype_override || $this->type == rectype_dontrec) &&
- + $this->search != searchtype_manual)
- + $this->search = 0;
- // Update the record
- $sh = $db->query('REPLACE INTO record (recordid,type,chanid,starttime,startdate,endtime,enddate,search,
- title,subtitle,description,profile,recpriority,category,
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement