fetch_feed_favicon: do not generate warning when icon file is not

writable (refs #375)
master
Andrew Dolgov 13 years ago
parent ff4019f004
commit e894e97f49

@ -476,7 +476,7 @@
$contents = fetch_file_contents($favicon_url, "image");
if ($contents) {
$fp = fopen($icon_file, "w");
$fp = @fopen($icon_file, "w");
if ($fp) {
fwrite($fp, $contents);

Loading…
Cancel
Save