Ticket #3311: mythweb-empty-airdate.patch
File mythweb-empty-airdate.patch, 745 bytes (added by , 17 years ago) |
---|
-
modules/tv/includes/objects/Program.php
245 245 $this->recording = ($this->recstatus == 'WillRecord'); # scheduled to record? 246 246 } 247 247 // No longer a null column, so check for blank entries 248 if ($this->airdate == '0000-00-00' || $this->airdate == '0000' )248 if ($this->airdate == '0000-00-00' || $this->airdate == '0000' || $this->airdate == '1900-01-01') 249 249 $this->airdate = NULL; 250 250 // Do we have a chanid? Load some info about it 251 251 if ($this->chanid && !isset($this->channel)) {