From: Morris Jobke Date: Wed, 20 Mar 2019 11:50:48 +0000 (+0100) Subject: Update lib/private/Share20/Manager.php X-Git-Tag: v16.0.0beta1~14^2~1 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=bb367f8cdda8237ad1084b3cd4d839939671ae2b;p=nextcloud-server.git Update lib/private/Share20/Manager.php fixed tabulator Co-Authored-By: aignerat <46312655+aignerat@users.noreply.github.com> --- diff --git a/lib/private/Share20/Manager.php b/lib/private/Share20/Manager.php index a15b2276ae6..4af2e58b94c 100644 --- a/lib/private/Share20/Manager.php +++ b/lib/private/Share20/Manager.php @@ -438,7 +438,7 @@ class Manager implements IManager { } // Identical share already existst - if ($existingShare->getSharedWith() === $share->getSharedWith() && ($existingShare->getShareType() === $share->getShareType())) { + if ($existingShare->getSharedWith() === $share->getSharedWith() && $existingShare->getShareType() === $share->getShareType()) { throw new \Exception('Path is already shared with this user'); }