]> wagnertech.de Git - timetracker.git/blobdiff - WEB-INF/lib/form/DateField.class.php
Work in progress added more checks for access control.
[timetracker.git] / WEB-INF / lib / form / DateField.class.php
index aa8a1498079ea26a3f38568a25ce14512bf3d07c..7d3886954f1f1f4b217aba8ce882d9af1fba6552 100644 (file)
@@ -39,7 +39,7 @@ class DateField extends TextField {
 
   var $lCalendarButtons = array('today'=>'Today', 'close'=>'Close');
 
-  function DateField($name) {
+  function __construct($name) {
     $this->mName  = $name;
     $this->mDateObj  = new DateAndTime();
 
@@ -427,4 +427,3 @@ class DateField extends TextField {
     return $html;
   }
 }
-?>
\ No newline at end of file