summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/omb.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/omb.php b/lib/omb.php
index 9428fc737..9b0b1fd24 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()) {