another copy-and-paste error

darcs-hash:20080612194656-84dde-d4cc2ac343b17502adf7c6190145d5041f554420.gz
This commit is contained in:
Evan Prodromou 2008-06-12 15:46:56 -04:00
parent 3491bb2df7
commit fa79d2c1d4

View File

@ -184,7 +184,7 @@ function omb_broadcast_profile($profile) {
# First, get remote users subscribed to this profile # First, get remote users subscribed to this profile
# XXX: use a join here rather than looping through results # XXX: use a join here rather than looping through results
$sub = new Subscription(); $sub = new Subscription();
$sub->subscribed = $notice->profile_id; $sub->subscribed = $profile->id;
if ($sub->find()) { if ($sub->find()) {
$updated = array(); $updated = array();
while ($sub->fetch()) { while ($sub->fetch()) {