]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
correct the id attribute of the profile
authorEvan Prodromou <evan@prodromou.name>
Thu, 12 Jun 2008 19:22:21 +0000 (15:22 -0400)
committerEvan Prodromou <evan@prodromou.name>
Thu, 12 Jun 2008 19:22:21 +0000 (15:22 -0400)
darcs-hash:20080612192221-84dde-1c39a22068e64dc3dee8902a730a6f1264728874.gz

lib/omb.php

index 122ff5a7431191a238f89c1c81b3848eb84d5648..9428fc7371cdc4fc93cf015ca7af1d69ffff6ccc 100644 (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;