From a539baece2599b28f89c7f32eaca5e4158aeeab9 Mon Sep 17 00:00:00 2001
From: DLange <DLange@git.local>
Date: Thu, 21 Feb 2019 17:08:27 +0100
Subject: [PATCH] Fix warning after icon has successfully been moved.

---
 classes/pref/feeds.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/classes/pref/feeds.php b/classes/pref/feeds.php
index a033bf04f..2ce9f5c3e 100755
--- a/classes/pref/feeds.php
+++ b/classes/pref/feeds.php
@@ -502,7 +502,7 @@ class Pref_Feeds extends Handler_Protected {
 			$rc = 2;
 		}
 
-		@unlink($icon_file);
+		if (is_file($icon_file)) @unlink($icon_file);
 
 		print "<script type=\"text/javascript\">";
 		print "parent.CommonDialogs.uploadIconHandler($rc);";
-- 
GitLab