fix variable name
authorChuck Hagenbuch <chuck@horde.org>
Fri, 22 May 2009 03:00:53 +0000 (23:00 -0400)
committerChuck Hagenbuch <chuck@horde.org>
Fri, 22 May 2009 15:57:32 +0000 (11:57 -0400)
framework/Date_Parser/lib/Horde/Date/Repeater/Minute.php

index 2d162bd..0f5ff0a 100644 (file)
@@ -45,7 +45,7 @@ class Horde_Date_Repeater_Minute extends Horde_Date_Repeater
     public function offset($span, $amount, $pointer)
     {
         $direction = ($pointer == 'future') ? 1 : -1;
-        return $span->add(array('min' => $diretion * $amount));
+        return $span->add(array('min' => $direction * $amount));
     }
 
     public function width()