Skip to content

Commit

Permalink
fix(encryption): Fix a PHP error in Encryption Util in specific situa…
Browse files Browse the repository at this point in the history
…tions

Signed-off-by: Côme Chilliet <[email protected]>
  • Loading branch information
come-nc committed Jan 13, 2025
1 parent ef4aa00 commit 4a3def9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/private/Encryption/Util.php
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ public function isExcluded($path) {

// detect user specific folders
if ($this->userManager->userExists($root[1])
&& in_array($root[2], $this->excludedPaths)) {
&& in_array($root[2] ?? '', $this->excludedPaths)) {
return true;
}
}
Expand Down

0 comments on commit 4a3def9

Please sign in to comment.