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 ddf7e822e..a54df627a 100644
--- a/actions/plugins/usersettings/save.php
+++ b/actions/plugins/usersettings/save.php
@@ -13,7 +13,7 @@ $result = false;
foreach ($params as $k => $v) {
// Save
- $result = set_plugin_usersetting($k, $v, get_loggedin_userid(), $plugin);
+ $result = set_plugin_usersetting($k, $v, elgg_get_logged_in_user_guid(), $plugin);
// Error?
if (!$result) {