Need a !empty() check here
authorMichael J. Rubinsky <mrubinsk@horde.org>
Sun, 28 Jun 2009 17:27:41 +0000 (13:27 -0400)
committerMichael J. Rubinsky <mrubinsk@horde.org>
Sun, 28 Jun 2009 17:27:41 +0000 (13:27 -0400)
kronolith/lib/Block/monthlist.php

index 5ce7528..2d4055a 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->_params['alarms'] && !$event->alarm)) {
+                    (!empty($this->_params['alarms']) && !$event->alarm)) {
                     continue;
                 }