Skip to content

Commit 7d780a2

Browse files
committed
Make User::fresh() compatible with Eloquent\Model v5.2.40+
1 parent 1a80cec commit 7d780a2

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
## v0.3.1.19
44

55
- Fixed some minor error screen layout issues
6+
- Make User::fresh() compatible with Eloquent\Model v5.2.40+
67

78
## v0.3.1.18
89

userfrosting/models/database/User.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ public static function isLoggedIn(){
8989
*
9090
* @see http://stackoverflow.com/a/27748794/2970321
9191
*/
92-
public function fresh(array $options = []){
92+
public function fresh($options = []){
9393
// TODO: Update table and column info, in case it has changed?
9494
$user = parent::fresh($options);
9595
$user->getGroupIds();

0 commit comments

Comments
 (0)