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