Fix viral typo.
authorJan Schneider <jan@horde.org>
Fri, 19 Jun 2009 15:53:15 +0000 (17:53 +0200)
committerJan Schneider <jan@horde.org>
Fri, 19 Jun 2009 15:53:15 +0000 (17:53 +0200)
kronolith/lib/Block/monthlist.php
kronolith/lib/Block/prevmonthlist.php
kronolith/lib/Block/summary.php

index 9bf66cf..5ce7528 100644 (file)
@@ -126,7 +126,7 @@ class Horde_Block_Kronolith_monthlist extends Horde_Block {
                     $event->end = $tomorrow;
                 }
                 if (($event->end->compareDate($now) < 0 && !$event->isAllDay()) ||
-                    ($this->_parmas['alarms'] && !$event->alarm)) {
+                    ($this->_params['alarms'] && !$event->alarm)) {
                     continue;
                 }
 
index 854af80..62ab312 100644 (file)
@@ -120,7 +120,7 @@ class Horde_Block_Kronolith_prevmonthlist extends Horde_Block {
                     continue;
                 }
 
-                if ($this->_parmas['alarms'] && !$event->alarm) {
+                if ($this->_params['alarms'] && !$event->alarm) {
                     continue;
                 }
                 if ($firstevent) {
index 71401e8..7d0a936 100644 (file)
@@ -138,7 +138,7 @@ class Horde_Block_Kronolith_summary extends Horde_Block {
                 if ($event->end->compareDate($now) < 0) {
                     continue;
                 }
-                if ($this->_parmas['alarms'] && !$event->alarm) {
+                if ($this->_params['alarms'] && !$event->alarm) {
                     continue;
                 }
                 $event_active = $event->start->compareDateTime($now) < 0 &&