]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Fix to regression for auto-subscribe - was backwards.
authorBrion Vibber <brion@pobox.com>
Wed, 17 Mar 2010 19:14:19 +0000 (12:14 -0700)
committerBrion Vibber <brion@pobox.com>
Wed, 17 Mar 2010 19:14:19 +0000 (12:14 -0700)
classes/Subscription.php

index 9cef2df1ad7c222d407fc1c3177fd4fdc1f1fa44..5ac95f92222a1aa9b80f12b5610859645a9b1510 100644 (file)
@@ -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();