File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# Change Log
22
3+ ## v0.3.1.20
4+
5+ - Revert changes to User::fresh() but leave comment regarding upgrading Eloquent
6+
37## v0.3.1.19
48
59- Fix some minor error screen layout issues
Original file line number Diff line number Diff line change 155155 'guest_theme ' => 'default ' ,
156156 'minify_css ' => '0 ' ,
157157 'minify_js ' => '0 ' ,
158- 'version ' => '0.3.1.19 ' ,
158+ 'version ' => '0.3.1.20 ' ,
159159 'author ' => 'Alex Weissman ' ,
160160 'show_terms_on_register ' => '1 ' ,
161161 'site_location ' => 'The State of Indiana '
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