From 18a524bd3e7a1f878e587a5e2099429d9920442b Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Wed, 15 Jun 2011 13:50:17 +0000 Subject: [PATCH] fixed not created "calendar_purge" job, if 0.5 years is selected --- calendar/inc/class.calendar_hooks.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/calendar/inc/class.calendar_hooks.inc.php b/calendar/inc/class.calendar_hooks.inc.php index 0c12aa3485..b550154db3 100644 --- a/calendar/inc/class.calendar_hooks.inc.php +++ b/calendar/inc/class.calendar_hooks.inc.php @@ -666,7 +666,7 @@ function calendar_purge_old($config) // Cancel old purge ExecMethod('phpgwapi.asyncservice.cancel_timer', $id); - if((int)$config > 0) + if((float)$config > 0) { $result = ExecMethod2('phpgwapi.asyncservice.set_timer', array('month' => '*', 'day' => 1),