diff --git a/importexport/inc/class.importexport_schedule_ui.inc.php b/importexport/inc/class.importexport_schedule_ui.inc.php index 23d190f947..34acfb4cc0 100644 --- a/importexport/inc/class.importexport_schedule_ui.inc.php +++ b/importexport/inc/class.importexport_schedule_ui.inc.php @@ -317,7 +317,7 @@ class importexport_schedule_ui 'method' => 'HEAD', 'ignore_errors' => 1 ))); - $headers = get_headers($data['target'],1); + $headers = get_headers($data['target'],1) ?: []; // Reset... stream_context_set_default(array('http'=>array(