diff options
-rw-r--r-- | actions/userauthorization.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/actions/userauthorization.php b/actions/userauthorization.php index 6ae3434a6..3c592ecd4 100644 --- a/actions/userauthorization.php +++ b/actions/userauthorization.php @@ -385,7 +385,8 @@ class UserauthorizationAction extends Action { if ($version != OMB_VERSION_01) { throw new OAuthException("OpenMicroBlogging version '$version' not supported"); } - $user = User::staticGet('uri', $req->get_parameter('omb_listener')); + $listener = $req->get_parameter('omb_listener'); + $user = User::staticGet('uri', $listener); if (!$user) { throw new OAuthException("Listener URI '$listener' not found here"); } |