Browse Source
Fix whitespace
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
pull/6512/head
Morris Jobke
7 years ago
No known key found for this signature in database
GPG Key ID: FE03C3A163FEDE68
1 changed files with
1 additions and
1 deletions
-
apps/dav/lib/DAV/Sharing/Backend.php
|
|
|
@ -99,7 +99,7 @@ class Backend { |
|
|
|
} |
|
|
|
|
|
|
|
$principal = explode('/', $parts[1], 3); |
|
|
|
if (count($principal) !== 3 || $principal[0] !== 'principals' || !in_array($principal[1], ['users', 'groups','circles'], true)) { |
|
|
|
if (count($principal) !== 3 || $principal[0] !== 'principals' || !in_array($principal[1], ['users', 'groups', 'circles'], true)) { |
|
|
|
// Invalid principal
|
|
|
|
return; |
|
|
|
} |
|
|
|
|