X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=lib%2Fomb.php;h=9b0b1fd24e52d3984cdd8b63c036d388647c0ab7;hb=171b4f72ee5a84d2a67b99aca7df9406e68f60c1;hp=9428fc7371cdc4fc93cf015ca7af1d69ffff6ccc;hpb=e13e58a9cfc6783291d88ac3106fa14e42829a1e;p=quix0rs-gnu-social.git diff --git a/lib/omb.php b/lib/omb.php index 9428fc7371..9b0b1fd24e 100644 --- a/lib/omb.php +++ b/lib/omb.php @@ -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()) {