Fix changed ctor name.
authorJan Schneider <jan@horde.org>
Mon, 25 May 2009 21:17:25 +0000 (23:17 +0200)
committerJan Schneider <jan@horde.org>
Mon, 25 May 2009 21:17:25 +0000 (23:17 +0200)
kronolith/lib/Day.php

index b25f241..c9ddda2 100644 (file)
@@ -56,7 +56,7 @@ class Kronolith_Day extends Horde_Date {
         if (is_null($day)) {
             $day = date('j');
         }
-        parent::Horde_Date(array('year' => $year, 'month' => $month, 'mday' => $day));
+        parent::__construct(array('year' => $year, 'month' => $month, 'mday' => $day));
 
         $this->_slotsPerHour = $GLOBALS['prefs']->getValue('slots_per_hour');
         if (!$this->_slotsPerHour) {