Laravel version update
Laravel version update
This commit is contained in:
@@ -125,7 +125,7 @@ class User extends Model implements AuthenticatableContract, CanResetPasswordCon
|
||||
$id = $this->attributes['id'];
|
||||
}
|
||||
$info = new UserAdditionalInfo();
|
||||
$infos = $info->where('owner', $id)->lists('value', 'key')->toArray();
|
||||
$infos = $info->where('owner', $id)->pluck('value', 'key')->toArray();
|
||||
|
||||
return $infos;
|
||||
}
|
||||
|
Reference in New Issue
Block a user