git.shiar.nl
/
minimedit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
nieuws: ignore missing image/contents of new articles
[minimedit.git]
/
nieuws.inc.php
diff --git
a/nieuws.inc.php
b/nieuws.inc.php
index 930eb00a2c96a8b4cb415472a462d7fe20148702..54853158a6a18ea14514757469d470d9bb4c8f34 100644
(file)
--- a/
nieuws.inc.php
+++ b/
nieuws.inc.php
@@
-29,6
+29,7
@@
class ArchiveArticle
function file()
{
+ if (!file_exists($this->page)) return;
return fopen($this->page, 'r');
}