From 8abe2f1bcfd1845ab72d774731be23df6e114930 Mon Sep 17 00:00:00 2001
From: DLange <[email protected]>
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..e096d8c2b 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);";
--
2.20.1
what’s your gogs username?
DLange. Just made an account.
I guess you want me to push there because you don’t like git am
:).
yeah copying diffs from the forum is way too much effort, my manual labor threshold is mail attachments
you should be able to clone stuff now