From e13e58a9cfc6783291d88ac3106fa14e42829a1e Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Thu, 12 Jun 2008 15:22:21 -0400 Subject: [PATCH] correct the id attribute of the profile darcs-hash:20080612192221-84dde-1c39a22068e64dc3dee8902a730a6f1264728874.gz --- lib/omb.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;