mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-28 10:53:39 +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',
|
'method' => 'HEAD',
|
||||||
'ignore_errors' => 1
|
'ignore_errors' => 1
|
||||||
)));
|
)));
|
||||||
$headers = get_headers($data['target'],1);
|
$headers = get_headers($data['target'],1) ?: [];
|
||||||
|
|
||||||
// Reset...
|
// Reset...
|
||||||
stream_context_set_default(array('http'=>array(
|
stream_context_set_default(array('http'=>array(
|
||||||
|
Loading…
Reference in New Issue
Block a user