aboutsummaryrefslogtreecommitdiff
path: root/app/controllers/profilemodules.php
diff options
context:
space:
mode:
authornoackorama <noackorama@gmail.com>2021-08-03 18:30:18 +0200
committernoackorama <noackorama@gmail.com>2021-08-03 18:30:18 +0200
commite4248dab785f59df2a09f84086a65b41bab6d7cb (patch)
tree01803615255481a39639a2106bc623f69c9cc2f0 /app/controllers/profilemodules.php
parent4ebcf92520bb486e5eeb686f01a842cb355e3354 (diff)
closes #37
Diffstat (limited to 'app/controllers/profilemodules.php')
-rw-r--r--app/controllers/profilemodules.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/profilemodules.php b/app/controllers/profilemodules.php
index 8f87073..9e558fa 100644
--- a/app/controllers/profilemodules.php
+++ b/app/controllers/profilemodules.php
@@ -254,7 +254,7 @@ class ProfileModulesController extends AuthenticatedController
$state = (bool) $state;
if ($state != $manager->isPluginActivatedForUser($item, $this->user->id)
- && $manager->setPluginActivated($item, $this->user->id, $state, 'user'))
+ && $manager->setPluginActivatedForUser($item, $this->user->id, $state))
{
return [$state, $this->plugins[$item]->getPluginName()];
}