]> source.dussan.org Git - nextcloud-server.git/commitdiff
Update lib/private/Share20/Manager.php
authorMorris Jobke <hey@morrisjobke.de>
Wed, 20 Mar 2019 11:50:48 +0000 (12:50 +0100)
committerBackportbot <backportbot-noreply@rullzer.com>
Wed, 20 Mar 2019 15:33:35 +0000 (15:33 +0000)
fixed tabulator

Co-Authored-By: aignerat <46312655+aignerat@users.noreply.github.com>
lib/private/Share20/Manager.php

index a15b2276ae69865bb4ee30a7b009697012d2d093..4af2e58b94cc0f173b496bceaaff57909c510148 100644 (file)
@@ -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');
                        }