File tree Expand file tree Collapse file tree
userfrosting/models/database Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33## v0.3.1.20
44
55- Added ` pushAlert() ` ,` clearAlerts() ` in ` public/js/userfrosting.js ` and updated ` flashAlerts() `
6+ - Revert changes to User::fresh() but leave comment regarding upgrading Eloquent
67
78## v0.3.1.19
89
Original file line number Diff line number Diff line change @@ -87,9 +87,11 @@ public static function isLoggedIn(){
8787 /**
8888 * Refresh the User and their associated Groups from the DB.
8989 *
90+ * If you are getting errors here after upgrading Eloquent, remove the word "array" from the function declaration.
91+ *
9092 * @see http://stackoverflow.com/a/27748794/2970321
9193 */
92- public function fresh ($ options = []){
94+ public function fresh (array $ options = []){
9395 // TODO: Update table and column info, in case it has changed?
9496 $ user = parent ::fresh ($ options );
9597 $ user ->getGroupIds ();
You can’t perform that action at this time.
0 commit comments