diff --git a/lib/private/Activity/Manager.php b/lib/private/Activity/Manager.php index cbe2d8c3eeeabde17a2452fd15982f4a195e1455..81fd91c778af0af59f97b1c4cff293d7d4b01c52 100644 --- a/lib/private/Activity/Manager.php +++ b/lib/private/Activity/Manager.php @@ -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); }