Merge pull request #3623 from nextcloud/daita-patch-1

Fix condition
This commit is contained in:
Morris Jobke 2017-02-26 17:03:36 -06:00 committed by GitHub
commit 9b36edd373
1 changed files with 1 additions and 1 deletions

View 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();
}