refs #164 models update
This commit is contained in:
@ -88,11 +88,9 @@ class User extends Authenticatable
|
||||
}
|
||||
}
|
||||
|
||||
if (!empty($value)) {
|
||||
if (!empty($value) && !$this->hasMedia('picture')) {
|
||||
return $value;
|
||||
}
|
||||
|
||||
if (!$this->hasMedia('picture')) {
|
||||
} elseif (!$this->hasMedia('picture')) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user