Getting rid of PHP Deprecated warnings.
[timetracker.git] / WEB-INF / lib / form / FloatField.class.php
index 370b28b..14c30df 100644 (file)
@@ -33,7 +33,7 @@ class FloatField extends TextField {
        var $mFFormat;
        var $cClassName = "FloatField";
 
-       function FloatField($name) {
+       function __construct($name) {
                $this->mName    = $name;
        }
        
@@ -71,4 +71,3 @@ class FloatField extends TextField {
                }
        }
 }
-?>
\ No newline at end of file