mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-14 18:08:21 +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
310d430142
commit
26a8d40c5f
@ -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