Skip to content

Commit

Permalink
Fix for v1.15
Browse files Browse the repository at this point in the history
  • Loading branch information
yurabakhtin committed Apr 24, 2024
1 parent 6fa5222 commit ffdf97a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Module.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public function canEdit(File $file): bool
public function canView(File $file): bool
{
return $this->isSupportedType($file) &&
$file->canView() &&
$file->canRead() &&
is_readable($file->getStore()->get());
}

Expand Down

0 comments on commit ffdf97a

Please sign in to comment.