From ce5687a6ea27dc4581825dfb19fade2822a3dd2b Mon Sep 17 00:00:00 2001 From: Sergey Linnik Date: Mon, 6 Nov 2023 13:56:41 +0300 Subject: [PATCH] Fix log comment --- controller/editorcontroller.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controller/editorcontroller.php b/controller/editorcontroller.php index b21e6c92..552dd06f 100644 --- a/controller/editorcontroller.php +++ b/controller/editorcontroller.php @@ -1078,7 +1078,7 @@ public function url($filePath) { return ["error" => $this->trans->t("File not found")]; } if (!$file->isReadable()) { - $this->logger->error("Folder for saving file without permission: $dir", ["app" => $this->appName]); + $this->logger->error("File without permission: $dir", ["app" => $this->appName]); return ["error" => $this->trans->t("You do not have enough permissions to view the file")]; }