type warning in dimension tags
[fa-stable.git] / includes / prefs / userprefs.inc
index c33220cf84fa76ed473063d5b847a45815a193b7..93f941807bc40143a16205270a8805eb6895259f 100644 (file)
@@ -40,11 +40,13 @@ class user_prefs
        {
                if ($user == null) { 
                        // set default values, used before login
-                       global $dflt_lang;
+                       global $dflt_lang, $dflt_date_sep, $dflt_date_fmt;
                        
-                       $this->date_sep = 0;
+                       $this->date_sep = $dflt_date_sep;
+                       $this->date_format = $dflt_date_fmt;
                        $this->tho_sep = 0;
                        $this->dec_sep = 0;
+                       $this->price_dec = 2;
                        $this->language = $dflt_lang;
                        $this->theme = 'default';