mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 16:44:20 +01:00
fix PHP 8.0 TypeError: ZipArchive::setCommentName(): Argument #2 ($comment) must be of type string, array given
This commit is contained in:
parent
029664ac1d
commit
b18d1da363
@ -1482,7 +1482,7 @@ class Vfs extends Vfs\Base
|
||||
$comment = self::find_prop($props,'comment');
|
||||
if($comment)
|
||||
{
|
||||
$zip->setCommentName($_name, $comment);
|
||||
$zip->setCommentName($_name, $comment['val']);
|
||||
}
|
||||
}
|
||||
unset($props);
|
||||
|
Loading…
Reference in New Issue
Block a user