]> source.dussan.org Git - nextcloud-server.git/commitdiff
Fix condition 3623/head
authorMaxence Lange <maxence@pontapreta.net>
Sat, 25 Feb 2017 19:09:33 +0000 (18:09 -0100)
committerMorris Jobke <hey@morrisjobke.de>
Sun, 26 Feb 2017 17:45:17 +0000 (11:45 -0600)
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
lib/private/Share20/ProviderFactory.php

index 87d9d2218101eff55f5ee56361590501a9bdced4..79589739523555783c3b415dad673e3427cb1df3 100644 (file)
@@ -173,7 +173,7 @@ class ProviderFactory implements IProviderFactory {
                        $provider = $this->defaultShareProvider();
                } else if ($id === 'ocFederatedSharing') {
                        $provider = $this->federatedShareProvider();
-               } else if ($id = 'ocMailShare') {
+               } else if ($id === 'ocMailShare') {
                        $provider = $this->getShareByMailProvider();
                }