summaryrefslogtreecommitdiff
path: root/include/rssfuncs.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2015-08-17 07:55:44 +0300
committerAndrew Dolgov <[email protected]>2015-08-17 07:55:44 +0300
commit961cae85a4ed14647c3b4a616c3c63873c7bc5e0 (patch)
treeea4b76c2b6f2c6cdcdf5003837871db0bf8cac90 /include/rssfuncs.php
parentd5eaaa050821a7b07baf932d6ce705f3c67ef334 (diff)
parent18433c6c1824aa46c8328925f15be95897acadd9 (diff)
Merge branch 'master' of git.fakecake.org:tt-rss
Diffstat (limited to 'include/rssfuncs.php')
-rw-r--r--include/rssfuncs.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/rssfuncs.php b/include/rssfuncs.php
index a922516cd..7ea0bf0c8 100644
--- a/include/rssfuncs.php
+++ b/include/rssfuncs.php
@@ -1248,6 +1248,8 @@
if ($file_content && strlen($file_content) > _MIN_CACHE_IMAGE_SIZE) {
file_put_contents($local_filename, $file_content);
}
+ } else {
+ touch($local_filename);
}
}
}