]> source.dussan.org Git - nextcloud-server.git/commitdiff
fix(logging): Fix array to string conversion in errorlog writer 35824/head
authorChristoph Wurst <christoph@winzerhof-wurst.at>
Mon, 5 Dec 2022 18:54:37 +0000 (19:54 +0100)
committerChristoph Wurst <christoph@winzerhof-wurst.at>
Tue, 24 Jan 2023 07:54:10 +0000 (08:54 +0100)
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
lib/private/Log/Errorlog.php

index 20a3ec9e2963a06a124e7dce0df41c55cd4416a7..4eb269f093d3f7f4a834ef6553bccc2617cd2fa7 100644 (file)
@@ -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;
        }