Adjusted time.php to honor note on separate row option.
[timetracker.git] / WEB-INF / lib / form / FloatField.class.php
index cb035c7..5b93975 100644 (file)
@@ -37,12 +37,12 @@ class FloatField extends TextField {
 
     $this->class = 'FloatField';
     $this->name = $name;
-    $this->mDelimiter = $user->decimal_mark;
+    $this->mDelimiter = $user->getDecimalMark();
   }
 
   function localize() {
     global $user;
-    $this->mDelimiter = $user->decimal_mark;
+    $this->mDelimiter = $user->getDecimalMark();
   }
 
   function setFormat($format) {