Merge pull request #22061 from nextcloud/activity-instanceof-fix

fix instanceof ISettings check for activity settings
This commit is contained in:
Morris Jobke 2020-07-31 00:50:51 +02:00 committed by GitHub
commit 4520736593
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -271,7 +271,7 @@ class Manager implements IManager {
/** @var ISetting $setting */
$setting = \OC::$server->query($class);
if (!$setting instanceof ISetting) {
if ($setting instanceof ISetting) {
if (!$setting instanceof ActivitySettings) {
$setting = new ActivitySettingsAdapter($setting);
}