diff --git a/lib/omb.php b/lib/omb.php index 122ff5a743..9428fc7371 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;