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