From c1683d9925ba710c44ce0a7adec46703e9b292fd Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Mon, 28 Mar 2011 17:22:37 -0700 Subject: [PATCH] Durr... got items in wrong order :D Fixed email notification for pending subscribes --- classes/Subscription_queue.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/classes/Subscription_queue.php b/classes/Subscription_queue.php index 3c67790271..19cd71c6a8 100644 --- a/classes/Subscription_queue.php +++ b/classes/Subscription_queue.php @@ -98,8 +98,8 @@ class Subscription_queue extends Managed_DataObject */ public function notify() { - $listenee = User::staticGet('id', $this->subscriber); - $other = Profile::staticGet('id', $this->subscribed); + $other = Profile::staticGet('id', $this->subscriber); + $listenee = User::staticGet('id', $this->subscribed); mail_subscribe_pending_notify_profile($listenee, $other); } }