Ticket #4684: zerosize.diff

File zerosize.diff, 531 bytes (added by xris, 16 years ago)
  • modules/tv/includes/objects/Program.php

     
    557557            }
    558558        }
    559559    // Is our target file already up to date?
    560         if (is_file($pngpath)) {
     560        if (is_file($pngpath) && filesize($pngpath) > 0) {
    561561            $mtime = filemtime($pngpath);
    562562            if ($mtime >= $png_mod) {
    563563                return 1;