summaryrefslogtreecommitdiff
path: root/plugins/libcalendaring/libcalendaring.php
diff options
context:
space:
mode:
authorThomas Bruederli <bruederli@kolabsys.com>2015-01-08 14:39:39 (GMT)
committerThomas Bruederli <bruederli@kolabsys.com>2015-01-08 14:39:39 (GMT)
commit44b67121b7e41a6a54ae26e264d0ff0a0adbf36e (patch)
tree7ce1d0e0e1c58f46efb150a74cb77cbbf7051a8b /plugins/libcalendaring/libcalendaring.php
parent0463028a7613692c534930fed7fc634126175288 (diff)
downloadroundcubemail-plugins-kolab-44b67121b7e41a6a54ae26e264d0ff0a0adbf36e.tar.gz
Add test cases for alarm-related utility functions + select the correct alarm if multiple are defined
Diffstat (limited to 'plugins/libcalendaring/libcalendaring.php')
-rw-r--r--plugins/libcalendaring/libcalendaring.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/libcalendaring/libcalendaring.php b/plugins/libcalendaring/libcalendaring.php
index 7506336..49ef40a 100644
--- a/plugins/libcalendaring/libcalendaring.php
+++ b/plugins/libcalendaring/libcalendaring.php
@@ -609,7 +609,7 @@ class libcalendaring extends rcube_plugin
}
}
- if ($notify_time && (!$notify_at || ($notify_time < $notify_at && $notify_time > $expires))) {
+ if ($notify_time && (!$notify_at || ($notify_time > $notify_at && $notify_time > $expires))) {
$notify_at = $notify_time;
$action = $alarm['action'];
$alarm_prop = $alarm;