Durr... got items in wrong order :D Fixed email notification for pending subscribes

This commit is contained in:
Brion Vibber 2011-03-28 17:22:37 -07:00
parent 5d31dd259a
commit c1683d9925

View File

@ -98,8 +98,8 @@ class Subscription_queue extends Managed_DataObject
*/ */
public function notify() public function notify()
{ {
$listenee = User::staticGet('id', $this->subscriber); $other = Profile::staticGet('id', $this->subscriber);
$other = Profile::staticGet('id', $this->subscribed); $listenee = User::staticGet('id', $this->subscribed);
mail_subscribe_pending_notify_profile($listenee, $other); mail_subscribe_pending_notify_profile($listenee, $other);
} }
} }