summaryrefslogtreecommitdiff
path: root/classes/Subscription.php
diff options
context:
space:
mode:
Diffstat (limited to 'classes/Subscription.php')
-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();