summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2017-02-26 17:03:36 -0600
committerGitHub <noreply@github.com>2017-02-26 17:03:36 -0600
commit9b36edd373c0f1fa8ef1621af2be35f24cb37a92 (patch)
tree0a436f24a1b5d077d44aadd77ef49f3bcd068419
parent0beef8f4e152b950e7edc63339af62d20f686348 (diff)
parentcfb40941c47a5e2a47fe0e37d16ed49725ec7acb (diff)
downloadnextcloud-server-9b36edd373c0f1fa8ef1621af2be35f24cb37a92.tar.gz
nextcloud-server-9b36edd373c0f1fa8ef1621af2be35f24cb37a92.zip
Merge pull request #3623 from nextcloud/daita-patch-1
Fix condition
-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();
}