]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/omb.php
immediate mode for openid
[quix0rs-gnu-social.git] / lib / omb.php
index 9428fc7371cdc4fc93cf015ca7af1d69ffff6ccc..9b0b1fd24e52d3984cdd8b63c036d388647c0ab7 100644 (file)
@@ -184,7 +184,7 @@ function omb_broadcast_profile($profile) {
        # First, get remote users subscribed to this profile
        # XXX: use a join here rather than looping through results
        $sub = new Subscription();
-       $sub->subscribed = $notice->profile_id;
+       $sub->subscribed = $profile->id;
        if ($sub->find()) {
                $updated = array();
                while ($sub->fetch()) {