aboutsummaryrefslogtreecommitdiff
path: root/actions/plugins/usersettings/save.php
diff options
context:
space:
mode:
Diffstat (limited to 'actions/plugins/usersettings/save.php')
-rw-r--r--actions/plugins/usersettings/save.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/actions/plugins/usersettings/save.php b/actions/plugins/usersettings/save.php
index d8db3bb1e..0219068e5 100644
--- a/actions/plugins/usersettings/save.php
+++ b/actions/plugins/usersettings/save.php
@@ -17,7 +17,7 @@ $result = false;
foreach ($params as $k => $v) {
// Save
- $result = set_plugin_usersetting($k, $v, $_SESSION['user']->guid, $plugin);
+ $result = set_plugin_usersetting($k, $v, get_loggedin_userid(), $plugin);
// Error?
if (!$result) {