mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-21 23:43:17 +01:00
fix PHP 8.0 TypeError: in_array(): Argument #2 ($haystack) must be of type array, null given
This commit is contained in:
parent
bcb2c6fd91
commit
bbc7fb93de
@ -1909,6 +1909,10 @@ class Vfs extends Vfs\Base
|
||||
*/
|
||||
static public function copy_files(array $src, $dst, &$errs=null, array &$copied=null)
|
||||
{
|
||||
if (!is_array($copied))
|
||||
{
|
||||
$copied = [];
|
||||
}
|
||||
if (self::is_dir($dst))
|
||||
{
|
||||
foreach ($src as $file)
|
||||
|
Loading…
Reference in New Issue
Block a user