Merge pull request #2515 from pixelfed/staging

Update AvatarController
This commit is contained in:
daniel 2020-12-17 13:15:10 -07:00 committed by GitHub
commit f524a67af7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -123,7 +123,7 @@ class AvatarController extends Controller
if( $avatar->media_path == 'public/avatars/default.png' || if( $avatar->media_path == 'public/avatars/default.png' ||
$avatar->thumb_path == 'public/avatars/default.png' || $avatar->thumb_path == 'public/avatars/default.png' ||
$avatar->media_path == 'public/avatars/default.jpg' || $avatar->media_path == 'public/avatars/default.jpg' ||
$avatar->thumb_path == 'public/avatars/default.jpg' || $avatar->thumb_path == 'public/avatars/default.jpg'
) { ) {
return; return;