summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/omb.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/omb.php b/lib/omb.php
index 122ff5a74..9428fc737 100644
--- a/lib/omb.php
+++ b/lib/omb.php
@@ -202,7 +202,7 @@ function omb_broadcast_profile($profile) {
function omb_update_profile($profile, $remote_profile, $subscription) {
global $config; # for license URL
- $user = User::staticGet('id', $profile->profile_id);
+ $user = User::staticGet($profile->id);
$con = omb_oauth_consumer();
$token = new OAuthToken($subscription->token, $subscription->secret);
$url = $remote_profile->updateprofileurl;