correct the id attribute of the profile

darcs-hash:20080612192221-84dde-1c39a22068e64dc3dee8902a730a6f1264728874.gz
This commit is contained in:
Evan Prodromou 2008-06-12 15:22:21 -04:00
parent 1866c60b87
commit e13e58a9cf

View File

@ -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;