Small cleanups
[fa-stable.git] / includes / current_user.inc
index bca45f0875cdcd589a6430b5b701498979e04d67..ea106e152b081c57a51d0a0215ae6f0ceed87990 100644 (file)
@@ -193,7 +193,7 @@ class current_user
                                $date_format, $date_sep, $tho_sep, $dec_sep, $theme, $pagesize, 
                                $show_hints, $profile, $rep_popup, $query_size, $graphic_links, $lang, $stickydate, $startup_tab);
                }
-               $this->prefs = new user_prefs($user);
+               $this->prefs = new user_prefs(get_user($this->user));
        }
 }