From 4a723ec672dba78b8b9048103f67306b46ed3964 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim=20D=C3=BCsterhus?= Date: Mon, 20 Apr 2015 14:26:54 +0200 Subject: [PATCH] Break in UserAvatarAction::fetchRemoteAvatar() if download failed --- .../files/lib/data/user/avatar/UserAvatarAction.class.php | 1 + 1 file changed, 1 insertion(+) diff --git a/wcfsetup/install/files/lib/data/user/avatar/UserAvatarAction.class.php b/wcfsetup/install/files/lib/data/user/avatar/UserAvatarAction.class.php index 78b7ea1b8e..4e04324f98 100644 --- a/wcfsetup/install/files/lib/data/user/avatar/UserAvatarAction.class.php +++ b/wcfsetup/install/files/lib/data/user/avatar/UserAvatarAction.class.php @@ -183,6 +183,7 @@ class UserAvatarAction extends AbstractDatabaseObjectAction { if (!empty($filename)) { @unlink($filename); } + return; } // rescale avatar if required -- 2.20.1