mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +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
4cc8eea7b6
commit
e2f06d0b94
@ -317,7 +317,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