mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 08:34:42 +01:00
Import/export: Avoid "Unable to schedule" error if schedule part contains whitespace
This commit is contained in:
parent
c43681b57b
commit
ef35cfe1af
@ -113,7 +113,10 @@ class importexport_schedule_ui
|
||||
// Remove any left blank
|
||||
foreach($schedule as $key => &$value)
|
||||
{
|
||||
if($value == '') unset($schedule[$key]);
|
||||
if(trim($value) == '')
|
||||
{
|
||||
unset($schedule[$key]);
|
||||
}
|
||||
}
|
||||
$result = $async->set_timer(
|
||||
$schedule,
|
||||
|
Loading…
Reference in New Issue
Block a user