X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=includes%2Fcurrent_user.inc;h=dabec3ce2cfd94f6b33ed52cbbbce8e5cef8dcb5;hb=2e181b13aa722a43e78b897404912d6b13a0a937;hp=deeda60f2099d04948ff78324706c61d966d107b;hpb=818719f38b8327cdca616d58b13913dbd174d96a;p=fa-stable.git diff --git a/includes/current_user.inc b/includes/current_user.inc index deeda60f..dabec3ce 100644 --- a/includes/current_user.inc +++ b/includes/current_user.inc @@ -1,13 +1,13 @@ . + See the License here . ***********************************************************************/ include_once($path_to_root . "/includes/prefs/userprefs.inc"); @@ -30,10 +30,10 @@ class current_user function current_user() { - $this->loginname = $username = $this->name = $this->company = ""; + $this->loginname = $this->username = $this->name = $this->company = ""; $this->logged = false; - $this->prefs = null; + $this->prefs = new user_prefs(); } function logged_in()