Migration move media table and fixed attribute issue
This commit is contained in:
@ -89,6 +89,10 @@ class User extends Authenticatable
|
||||
}
|
||||
}
|
||||
|
||||
if (!empty($value)) {
|
||||
return $value;
|
||||
}
|
||||
|
||||
if (!$this->hasMedia('picture')) {
|
||||
return false;
|
||||
}
|
||||
|
Reference in New Issue
Block a user