]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
another copy-and-paste error
authorEvan Prodromou <evan@prodromou.name>
Thu, 12 Jun 2008 19:46:56 +0000 (15:46 -0400)
committerEvan Prodromou <evan@prodromou.name>
Thu, 12 Jun 2008 19:46:56 +0000 (15:46 -0400)
darcs-hash:20080612194656-84dde-d4cc2ac343b17502adf7c6190145d5041f554420.gz

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()) {