diff options
Diffstat (limited to 'mod/twitterservice/start.php')
-rw-r--r-- | mod/twitterservice/start.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/twitterservice/start.php b/mod/twitterservice/start.php index 14885ffc1..9f37aa151 100644 --- a/mod/twitterservice/start.php +++ b/mod/twitterservice/start.php @@ -94,7 +94,7 @@ function twitterservice_tweet($hook, $entity_type, $returnvalue, $params) { } // check user settings - $user_id = get_loggedin_userid(); + $user_id = elgg_get_logged_in_user_guid(); $access_key = get_plugin_usersetting('access_key', $user_id, 'twitterservice'); $access_secret = get_plugin_usersetting('access_secret', $user_id, 'twitterservice'); if (!($access_key && $access_secret)) { |