mirror of
https://github.com/nextcloud/server.git
synced 2026-02-20 00:12:30 -05:00
fix(encryption): Fix a PHP error in Encryption Util in specific situations
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
This commit is contained in:
parent
08bff4cf4a
commit
27599ef45d
1 changed files with 1 additions and 1 deletions
|
|
@ -304,7 +304,7 @@ class Util {
|
|||
|
||||
// detect user specific folders
|
||||
if ($this->userManager->userExists($root[1])
|
||||
&& in_array($root[2], $this->excludedPaths)) {
|
||||
&& in_array($root[2] ?? '', $this->excludedPaths)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue