Skip to content

Commit dc91223

Browse files
chore: typo (fixup)
Signed-off-by: Josh <[email protected]>
1 parent b545b15 commit dc91223

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Service/SecureViewService.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public function shouldSecure(string $path, IStorage $storage, bool $tryOpen = tr
5151
$isDir = true;
5252
}
5353

54-
if ($tryOpen && !isDir) {
54+
if ($tryOpen && !$isDir) {
5555
// Attempt to open the file to potentially trigger cache entry creation
5656
$fp = $storage->fopen($path, 'r');
5757
if ($fp !== false && is_resource($fp)) {

0 commit comments

Comments
 (0)