Fix warning after icon has successfully been moved.

This commit is contained in:
DLange 2019-02-21 17:08:27 +01:00 committed by Daniel Lange
parent e9f58427c0
commit a539baece2
1 changed files with 1 additions and 1 deletions

View File

@ -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);";