diff options
author | Roeland Jago Douma <rullzer@users.noreply.github.com> | 2020-02-12 20:26:57 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-12 20:26:57 +0100 |
commit | 1db39e4eb445592cc3b76611df366472225c1159 (patch) | |
tree | 52c4aa6c21fe7fd3ac20ebc55f2cd612c5eeb5a5 | |
parent | 39ba588e16e4559e9cbb4d579e1bd72fe118731b (diff) | |
parent | 08cadf84165dc30fdcb309764cdc923112b86d2f (diff) | |
download | nextcloud-server-1db39e4eb445592cc3b76611df366472225c1159.tar.gz nextcloud-server-1db39e4eb445592cc3b76611df366472225c1159.zip |
Merge pull request #19424 from nextcloud/bugfix/noid/dont-create-invalid-users
Don't create invalid users
-rw-r--r-- | lib/private/Files/View.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Files/View.php b/lib/private/Files/View.php index 9151a5130a1..2c01c112ad4 100644 --- a/lib/private/Files/View.php +++ b/lib/private/Files/View.php @@ -1392,7 +1392,7 @@ class View { } $ownerId = $storage->getOwner($internalPath); $owner = null; - if ($ownerId !== null) { + if ($ownerId !== null && $ownerId !== false) { // ownerId might be null if files are accessed with an access token without file system access $owner = $this->getUserObjectForOwner($ownerId); } |