summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaxence Lange <maxence@pontapreta.net>2017-02-25 18:09:33 -0100
committerMorris Jobke <hey@morrisjobke.de>2017-02-26 11:45:17 -0600
commitcfb40941c47a5e2a47fe0e37d16ed49725ec7acb (patch)
tree1116d81af9148d7ad62bae4d03ada802ce70da2c
parent556b958af2e786eefc6c7a1423510c0ff7aabfcf (diff)
downloadnextcloud-server-cfb40941c47a5e2a47fe0e37d16ed49725ec7acb.tar.gz
nextcloud-server-cfb40941c47a5e2a47fe0e37d16ed49725ec7acb.zip
Fix condition
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
-rw-r--r--lib/private/Share20/ProviderFactory.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Share20/ProviderFactory.php b/lib/private/Share20/ProviderFactory.php
index 87d9d221810..79589739523 100644
--- a/lib/private/Share20/ProviderFactory.php
+++ b/lib/private/Share20/ProviderFactory.php
@@ -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();
}