projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c984e1d
)
_params['alarms'] won't be set at all unless the checkbox is checked,
author
Michael J. Rubinsky
<mrubinsk@horde.org>
Wed, 24 Jun 2009 13:24:07 +0000
(09:24 -0400)
committer
Michael J. Rubinsky
<mrubinsk@horde.org>
Wed, 24 Jun 2009 13:26:49 +0000
(09:26 -0400)
need a !empty() check here.
kronolith/lib/Block/summary.php
patch
|
blob
|
history
diff --git
a/kronolith/lib/Block/summary.php
b/kronolith/lib/Block/summary.php
index
7d0a936
..
0642ea7
100644
(file)
--- a/
kronolith/lib/Block/summary.php
+++ b/
kronolith/lib/Block/summary.php
@@
-138,7
+138,8
@@
class Horde_Block_Kronolith_summary extends Horde_Block {
if ($event->end->compareDate($now) < 0) {
continue;
}
- if ($this->_params['alarms'] && !$event->alarm) {
+
+ if (!empty($this->_params['alarms']) && !$event->alarm) {
continue;
}
$event_active = $event->start->compareDateTime($now) < 0 &&