Skip to content

Commit

Permalink
Fix log comment
Browse files Browse the repository at this point in the history
  • Loading branch information
LinneyS committed Nov 6, 2023
1 parent fe6d569 commit ce5687a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controller/editorcontroller.php
Original file line number Diff line number Diff line change
Expand Up @@ -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")];
}

Expand Down

0 comments on commit ce5687a

Please sign in to comment.