X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=includes%2Fcurrent_user.inc;h=dabec3ce2cfd94f6b33ed52cbbbce8e5cef8dcb5;hb=2e181b13aa722a43e78b897404912d6b13a0a937;hp=fbd54bf1dc05e59aab376f5850219e7c106b0b9d;hpb=b6af4ea4c99734cfd051395289107bbba5a405e9;p=fa-stable.git diff --git a/includes/current_user.inc b/includes/current_user.inc index fbd54bf1..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()