mirror of
https://github.com/nextcloud/server.git
synced 2026-02-27 18:37:17 +01: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:
committed by
Côme Chilliet
parent
08bff4cf4a
commit
27599ef45d
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user