diff --git a/importexport/inc/class.importexport_schedule_ui.inc.php b/importexport/inc/class.importexport_schedule_ui.inc.php index 40e079ea4f..cc56803c93 100644 --- a/importexport/inc/class.importexport_schedule_ui.inc.php +++ b/importexport/inc/class.importexport_schedule_ui.inc.php @@ -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,