X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/90ff65cf45284f90b1c4e09fe575319b320f56ac..a07b6f8bccda226991ced6fe25f1c9c508e423e5:/WEB-INF/lib/form/Calendar.class.php diff --git a/WEB-INF/lib/form/Calendar.class.php b/WEB-INF/lib/form/Calendar.class.php index dd6e83ab..46fcd6eb 100644 --- a/WEB-INF/lib/form/Calendar.class.php +++ b/WEB-INF/lib/form/Calendar.class.php @@ -47,7 +47,7 @@ class Calendar extends FormElement { // var $mAllDays = true; var $cClassName = "Calendar"; - function Calendar($name) { + function __construct($name) { $this->controlName = $name; $this->mMonthNames = array('January','February','March','April','May','June','July','August','September','October','November','December'); $this->mWeekDayShortNames = array('Su','Mo','Tu','We','Th','Fr','Sa');