diff options
author | Robin Appelman <robin@icewind.nl> | 2022-02-01 13:53:22 +0100 |
---|---|---|
committer | Robin Appelman <robin@icewind.nl> | 2022-02-09 16:01:28 +0100 |
commit | 2673775f6ebb7c3bee72fd08232746ad32595822 (patch) | |
tree | 9977809ac74352f9adc205b87afb7d44ebf8178f /lib | |
parent | 1ab58eff0f0e07aafd97a88647c2c72313506e53 (diff) | |
download | nextcloud-server-2673775f6ebb7c3bee72fd08232746ad32595822.tar.gz nextcloud-server-2673775f6ebb7c3bee72fd08232746ad32595822.zip |
fix fs cache test user setup
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/Files/Filesystem.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/private/Files/Filesystem.php b/lib/private/Files/Filesystem.php index fe55373ef44..e439b746bf6 100644 --- a/lib/private/Files/Filesystem.php +++ b/lib/private/Files/Filesystem.php @@ -368,6 +368,8 @@ class Filesystem { } elseif ($user instanceof IUser) { $userObject = $user; $user = $userObject->getUID(); + } else { + $userObject = null; } if ($userObject === null || $user === false || $user === '') { |