diff options
| author | noackorama <noackorama@gmail.com> | 2021-08-03 18:30:18 +0200 |
|---|---|---|
| committer | noackorama <noackorama@gmail.com> | 2021-08-03 18:30:18 +0200 |
| commit | e4248dab785f59df2a09f84086a65b41bab6d7cb (patch) | |
| tree | 01803615255481a39639a2106bc623f69c9cc2f0 /app/controllers/profilemodules.php | |
| parent | 4ebcf92520bb486e5eeb686f01a842cb355e3354 (diff) | |
closes #37
Diffstat (limited to 'app/controllers/profilemodules.php')
| -rw-r--r-- | app/controllers/profilemodules.php | 2 |
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()]; } |
