Great, some PHP version can't json encode empty hash keys.
authorJan Schneider <jan@horde.org>
Tue, 24 Nov 2009 16:42:44 +0000 (17:42 +0100)
committerJan Schneider <jan@horde.org>
Tue, 24 Nov 2009 18:03:12 +0000 (19:03 +0100)
kronolith/lib/Kronolith.php

index 130e6d1..6c18474 100644 (file)
@@ -148,7 +148,7 @@ class Kronolith
                              Horde_Date_Recurrence::RECUR_YEARLY_DATE => 'Yearly',
                              Horde_Date_Recurrence::RECUR_YEARLY_DAY => 'Yearly',
                              Horde_Date_Recurrence::RECUR_YEARLY_WEEKDAY => 'Yearly'),
-            'snooze' => array('' => _("Snooze..."),
+            'snooze' => array('0' => _("Snooze..."),
                               '-1' => _("Dismiss"),
                               '5' => _("5 minutes"),
                               '15' => _("15 minutes"),