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

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

index 4af2e58b94cc0f173b496bceaaff57909c510148..c2ea165955f34cde3d6cb20f9bb053622da4c373 100644 (file)
@@ -493,7 +493,7 @@ class Manager implements IManager {
                                //It is a new share so just continue
                        }
 
-            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 group');
                        }
                }