close #1633 Fixed: Broken images displayed in User List page

This commit is contained in:
Cüneyt Şentürk
2020-10-10 10:33:53 +03:00
parent b2d534b5d9
commit 5c8fbd4104
3 changed files with 9 additions and 5 deletions

View File

@ -115,7 +115,7 @@ class User extends Authenticatable
}
}
if (!empty($value) && !$this->hasMedia('picture')) {
if (!empty($value)) {
return $value;
} elseif (!$this->hasMedia('picture')) {
return false;