mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-21 02:18:28 +02: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');
|
$comment = self::find_prop($props,'comment');
|
||||||
if($comment)
|
if($comment)
|
||||||
{
|
{
|
||||||
$zip->setCommentName($_name, $comment);
|
$zip->setCommentName($_name, $comment['val']);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
unset($props);
|
unset($props);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user