X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Flib%2Fform%2FFloatField.class.php;h=cb035c7c3f12f420b1c8bcc4e4194db597db3722;hb=3fe430d82ad416d1766b9f0cd558e2e1f26900a9;hp=b11f4a11511b82ee8329c64c04653a7063ea8d5d;hpb=cd5e077ecb497431decde4835138b877d63b261c;p=timetracker.git diff --git a/WEB-INF/lib/form/FloatField.class.php b/WEB-INF/lib/form/FloatField.class.php index b11f4a11..cb035c7c 100644 --- a/WEB-INF/lib/form/FloatField.class.php +++ b/WEB-INF/lib/form/FloatField.class.php @@ -33,11 +33,14 @@ class FloatField extends TextField { var $mFFormat; function __construct($name) { + global $user; + $this->class = 'FloatField'; $this->name = $name; + $this->mDelimiter = $user->decimal_mark; } - function localize($i18n) { + function localize() { global $user; $this->mDelimiter = $user->decimal_mark; }