Getting rid of PHP Deprecated warnings.
[timetracker.git] / WEB-INF / lib / form / TextField.class.php
index 3d5ce7a..a409410 100644 (file)
@@ -33,7 +33,7 @@ class TextField extends FormElement {
     var $mPassword     = false;
     var $cClassName            = "TextField";
 
-       function TextField($name,$value="")
+       function __construct($name,$value="")
        {
                $this->mName                    = $name;
                $this->mValue                   = $value;
@@ -74,4 +74,3 @@ class TextField extends FormElement {
                return $html;
        }
 }
-?>
\ No newline at end of file