aboutsummaryrefslogtreecommitdiff
path: root/mod/twitterservice/views/default/usersettings
diff options
context:
space:
mode:
Diffstat (limited to 'mod/twitterservice/views/default/usersettings')
-rw-r--r--mod/twitterservice/views/default/usersettings/twitterservice/edit.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/twitterservice/views/default/usersettings/twitterservice/edit.php b/mod/twitterservice/views/default/usersettings/twitterservice/edit.php
index d3083d48f..11afa6671 100644
--- a/mod/twitterservice/views/default/usersettings/twitterservice/edit.php
+++ b/mod/twitterservice/views/default/usersettings/twitterservice/edit.php
@@ -3,7 +3,7 @@
*
*/
-$user_id = get_loggedin_userid();
+$user_id = elgg_get_logged_in_user_guid();
$twitter_name = get_plugin_usersetting('twitter_name', $user_id, 'twitterservice');
$access_key = get_plugin_usersetting('access_key', $user_id, 'twitterservice');
$access_secret = get_plugin_usersetting('access_secret', $user_id, 'twitterservice');