mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-24 15:49:06 +01:00
fixed not created "calendar_purge" job, if 0.5 years is selected
This commit is contained in:
parent
39080d50f8
commit
18a524bd3e
@ -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),
|
||||
|
Loading…
Reference in New Issue
Block a user