mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-25 01:13:25 +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
|
// Remove any left blank
|
||||||
foreach($schedule as $key => &$value)
|
foreach($schedule as $key => &$value)
|
||||||
{
|
{
|
||||||
if($value == '') unset($schedule[$key]);
|
if(trim($value) == '')
|
||||||
|
{
|
||||||
|
unset($schedule[$key]);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
$result = $async->set_timer(
|
$result = $async->set_timer(
|
||||||
$schedule,
|
$schedule,
|
||||||
|
Loading…
Reference in New Issue
Block a user