summaryrefslogtreecommitdiff
path: root/lib/omb.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-06-12 15:22:21 -0400
committerEvan Prodromou <evan@prodromou.name>2008-06-12 15:22:21 -0400
commite13e58a9cfc6783291d88ac3106fa14e42829a1e (patch)
treefe00db6c1dcd3773e6fc72bf5cc161ef0bc6dd54 /lib/omb.php
parent1866c60b87b15b4141182e7eb12e0daa20b99270 (diff)
correct the id attribute of the profile
darcs-hash:20080612192221-84dde-1c39a22068e64dc3dee8902a730a6f1264728874.gz
Diffstat (limited to 'lib/omb.php')
-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;