summaryrefslogtreecommitdiff
path: root/actions
diff options
context:
space:
mode:
Diffstat (limited to 'actions')
-rw-r--r--actions/finishremotesubscribe.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/actions/finishremotesubscribe.php b/actions/finishremotesubscribe.php
index d48ba0a62..7a2fc11d2 100644
--- a/actions/finishremotesubscribe.php
+++ b/actions/finishremotesubscribe.php
@@ -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.'));