From: Evan Prodromou Date: Thu, 12 Jun 2008 19:22:21 +0000 (-0400) Subject: correct the id attribute of the profile X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=e13e58a9cfc6783291d88ac3106fa14e42829a1e;p=quix0rs-gnu-social.git correct the id attribute of the profile darcs-hash:20080612192221-84dde-1c39a22068e64dc3dee8902a730a6f1264728874.gz --- 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;