From e5e5559c788f9ee1f4265bc8b0a4492217a9cc47 Mon Sep 17 00:00:00 2001 From: Anna Larch Date: Thu, 6 Apr 2023 20:31:13 +0200 Subject: [PATCH] fixup! fix: log fopen calls when stream isn't available --- lib/private/Streamer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/private/Streamer.php b/lib/private/Streamer.php index 0bc8743dac6b6..aafd3d95dfbcb 100644 --- a/lib/private/Streamer.php +++ b/lib/private/Streamer.php @@ -129,7 +129,7 @@ public function addDirRecursive(string $dir, string $internalDir = ''): void { if ($file instanceof File) { try { $fh = $file->fopen('r'); - if($fh === false) { + if ($fh === false) { $logger->error('Unable to open file for stream: ' . print_r($file, true)); continue; }