summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrion Vibber <brion@pobox.com>2010-03-17 12:14:19 -0700
committerBrion Vibber <brion@pobox.com>2010-03-17 12:14:19 -0700
commitdacd0f3e6df020eda81d60139ac88437fed3352e (patch)
tree675c6f9e7bca732e2ec2e4d155d8175ead294886
parent6828567ed067b382f68910dba6d59b603fc782a4 (diff)
Fix to regression for auto-subscribe - was backwards.
-rw-r--r--classes/Subscription.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/classes/Subscription.php b/classes/Subscription.php
index 9cef2df1a..5ac95f922 100644
--- a/classes/Subscription.php
+++ b/classes/Subscription.php
@@ -105,8 +105,8 @@ class Subscription extends Memcached_DataObject
$auto = new Subscription();
- $auto->subscriber = $subscriber->id;
- $auto->subscribed = $other->id;
+ $auto->subscriber = $other->id;
+ $auto->subscribed = $subscriber->id;
$auto->created = common_sql_now();
$result = $auto->insert();