]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
listenee is nickname, not URI
authorEvan Prodromou <evan@prodromou.name>
Fri, 6 Jun 2008 04:34:05 +0000 (00:34 -0400)
committerEvan Prodromou <evan@prodromou.name>
Fri, 6 Jun 2008 04:34:05 +0000 (00:34 -0400)
darcs-hash:20080606043405-84dde-e365fd5a897990c446a4156ed3582081949fd891.gz

actions/finishremotesubscribe.php

index d48ba0a62212050bb77c006a30dbe7e4f31892e2..7a2fc11d2a6c54b60143bf1ff80f30cc66805cbb 100644 (file)
@@ -81,7 +81,7 @@ class FinishremotesubscribeAction extends Action {
 
                common_debug('listenee: "'.$omb['listenee'].'"', __FILE__);
                
-               $user = User::staticGet('uri', $omb['listenee']);
+               $user = User::staticGet('nickname', $omb['listenee']);
                
                if (!$user) {
                        common_user_error(_t('User being listened to doesn\'t exist.'));