fix(encryption): Fix a PHP error in Encryption Util in specific situations

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
pull/48560/head
Côme Chilliet 1 year ago committed by Côme Chilliet
parent 08bff4cf4a
commit 27599ef45d
  1. 2
      lib/private/Encryption/Util.php

@ -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…
Cancel
Save