fix variable name; was overwriting instead of setting
authorChuck Hagenbuch <chuck@horde.org>
Wed, 13 May 2009 01:02:48 +0000 (21:02 -0400)
committerChuck Hagenbuch <chuck@horde.org>
Wed, 13 May 2009 01:04:37 +0000 (21:04 -0400)
framework/Date_Parser/lib/Horde/Date/Repeater/Day.php

index f000b25..7cc544b 100644 (file)
@@ -35,7 +35,7 @@ class Horde_Date_Repeater_Day extends Horde_Date_Repeater
 
         case 'past':
             $dayBegin = new Horde_Date(array('year' => $this->now->year, 'month' => $this->now->month, 'day' => $this->now->day));
-            $dayBegin = new Horde_Date(array('year' => $this->now->year, 'month' => $this->now->month, 'day' => $this->now->day, 'hour' => $this->now->hour));
+            $dayEnd = new Horde_Date(array('year' => $this->now->year, 'month' => $this->now->month, 'day' => $this->now->day, 'hour' => $this->now->hour));
             break;
 
         case 'none':