More refactoring for subgroups.
[timetracker.git] / WEB-INF / lib / common.lib.php
index 4411fb5..0e9ff9e 100644 (file)
@@ -226,7 +226,7 @@ function ttValidFloat($val, $emptyValid = false)
     return ($emptyValid ? true : false);
     
   global $user;
-  $decimal = $user->decimal_mark;
+  $decimal = $user->getDecimalMark();
        
   if (!preg_match('/^-?[0-9'.$decimal.']+$/', $val))
     return false;