Ticket #10650: Schedule.php.patch
File Schedule.php.patch, 1.3 KB (added by , 12 years ago) |
---|
-
Schedule.php
old new 276 276 // Update the type, in case it changed 277 277 $this->type = $new_type; 278 278 // Update the record 279 // FIXUP for 0.25 - according to how the frontend does dontrecord 280 // we need to set the search flag to nosearch unless its a manual search 281 // manual search defined as 5 in recordingtypes.h - nosearch is 0 282 $srchflg = $this->search; 283 if ($this->search != 5) { 284 $srchflg = 0; 285 } 279 286 $sh = $db->query('REPLACE INTO record (recordid,type,chanid,starttime,startdate,endtime,enddate,search, 280 287 title,subtitle,description,profile,recpriority,category, 281 288 maxnewest,inactive,maxepisodes,autoexpire,startoffset,endoffset, … … 294 301 $this->starttime, 295 302 $this->endtime, 296 303 $this->endtime, 297 _or($this->search, 0, true),304 $srchflg, 298 305 _or($this->title, 'Untitled' ), 299 306 _or($this->subtitle, '' ), 300 307 _or($this->description, '' ),