Ticket #3311: mythweb-empty-airdate.patch

File mythweb-empty-airdate.patch, 745 bytes (added by otto at kolsi dot fi, 13 years ago)
  • modules/tv/includes/objects/Program.php

     
    245245            $this->recording   = ($this->recstatus == 'WillRecord'); # scheduled to record?
    246246        }
    247247    // 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')
    249249            $this->airdate = NULL;
    250250    // Do we have a chanid?  Load some info about it
    251251        if ($this->chanid && !isset($this->channel)) {