Refactored ActionErrors.class.php.
[timetracker.git] / WEB-INF / lib / form / UploadFile.class.php
index be57fa4..1055125 100644 (file)
@@ -33,7 +33,7 @@ class UploadFile extends FormElement {
     var $cClassName            = "UploadFile";
     var $mMaxSize              = 100000;       // 100kb
 
-       function UploadFile($name,$value="")
+       function __construct($name,$value="")
        {
                $this->mName                    = $name;
                $this->mValue                   = $value;
@@ -66,4 +66,3 @@ class UploadFile extends FormElement {
                return $html;
        }
 }
-?>
\ No newline at end of file