Migration move media table and fixed attribute issue

This commit is contained in:
cuneytsenturk
2018-01-03 20:08:56 +03:00
parent 3c15d3e96f
commit 5788233c2e
10 changed files with 72 additions and 8 deletions

View File

@ -89,6 +89,10 @@ class User extends Authenticatable
}
}
if (!empty($value)) {
return $value;
}
if (!$this->hasMedia('picture')) {
return false;
}