Ticket #1743: programs_airdate.diff

File programs_airdate.diff, 688 bytes (added by otto at kolsi dot fi, 14 years ago)
  • mythplugins/mythweb/includes/programs.php

     
    380380            $this->recording   = ($this->recstatus == 'WillRecord'); # scheduled to record?
    381381        }
    382382    // No longer a null column, so check for blank entries
    383         if ($this->airdate == '0000-00-00')
     383        if ($this->airdate == '0000-00-00' || $this->airdate == '0000')
    384384            $this->airdate = NULL;
    385385    // Do we have a chanid?  Load some info about it
    386386        if ($this->chanid && !isset($this->channel)) {