]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
fubared a715271f847fed7d7c725c5b752ea7a00800520a - this is the fix
authorCraig Andrews <candrews@integralblue.com>
Fri, 12 Mar 2010 02:02:41 +0000 (21:02 -0500)
committerCraig Andrews <candrews@integralblue.com>
Fri, 12 Mar 2010 02:02:41 +0000 (21:02 -0500)
lib/command.php

index 3809c98cca530b3d8eda8a397d749cf9a9667f39..f7421269d0aad3c4bc4771fe2b32e85d458c609e 100644 (file)
@@ -729,7 +729,7 @@ class LoseCommand extends Command
             return;
         }
 
-        $result = Subscription::cancel($this->other, $this->user);
+        $result = Subscription::cancel($this->getProfile($this->other), $this->user->getProfile());
 
         if ($result) {
             $channel->output($this->user, sprintf(_('Unsubscribed  %s'), $this->other));