From: Evan Prodromou Date: Mon, 1 Mar 2010 23:07:21 +0000 (-0500) Subject: lost important fields when switching queries X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=f7c2c19ce89868fee5ce51d793d45c05ab209866;p=quix0rs-gnu-social.git lost important fields when switching queries --- diff --git a/lib/omb.php b/lib/omb.php index 0db178989c..8bbe5e8aac 100644 --- a/lib/omb.php +++ b/lib/omb.php @@ -77,7 +77,7 @@ function omb_broadcast_notice($notice) /* Get remote users subscribed to this profile. */ $rp = new Remote_profile(); - $rp->query('SELECT remote_profile.* ' . + $rp->query('SELECT remote_profile.*, secret, token ' . 'FROM subscription JOIN remote_profile ' . 'ON subscription.subscriber = remote_profile.id ' . 'WHERE subscription.subscribed = ' . $notice->profile_id . ' '); @@ -126,7 +126,7 @@ function omb_broadcast_profile($profile) /* Get remote users subscribed to this profile. */ $rp = new Remote_profile(); - $rp->query('SELECT remote_profile.* ' . + $rp->query('SELECT remote_profile.*, secret, token ' . 'FROM subscription JOIN remote_profile ' . 'ON subscription.subscriber = remote_profile.id ' . 'WHERE subscription.subscribed = ' . $profile->id . ' ');