From f9fc4fbdd9dd636ad37cab7d96cf01830ce124c1 Mon Sep 17 00:00:00 2001 From: Christoph Wurst Date: Mon, 5 Dec 2022 19:54:37 +0100 Subject: [PATCH] fix(logging): Fix array to string conversion in errorlog writer Signed-off-by: Christoph Wurst --- lib/private/Log/Errorlog.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/private/Log/Errorlog.php b/lib/private/Log/Errorlog.php index 20a3ec9e296..4eb269f093d 100644 --- a/lib/private/Log/Errorlog.php +++ b/lib/private/Log/Errorlog.php @@ -33,7 +33,8 @@ class Errorlog extends LogDetails implements IWriter { /** @var string */ protected $tag; - public function __construct(string $tag = 'owncloud') { + public function __construct(SystemConfig $config, string $tag = 'owncloud') { + parent::__construct($config); $this->tag = $tag; } -- 2.39.5