nieuws: ignore missing image/contents of new articles
[minimedit.git] / nieuws.inc.php
index 930eb00a2c96a8b4cb415472a462d7fe20148702..54853158a6a18ea14514757469d470d9bb4c8f34 100644 (file)
@@ -29,6 +29,7 @@ class ArchiveArticle
 
        function file()
        {
+               if (!file_exists($this->page)) return;
                return fopen($this->page, 'r');
        }