mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-24 17:04:14 +01:00
fix PHP 8.0 TypeError: count(): Argument #1 ($value) must be of type Countable|array, bool given
This commit is contained in:
parent
2056400695
commit
3b08a5979a
@ -308,7 +308,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(
|
||||
|
Loading…
Reference in New Issue
Block a user