diff options
author | Evan Prodromou <evan@prodromou.name> | 2008-08-16 11:10:57 -0400 |
---|---|---|
committer | Evan Prodromou <evan@prodromou.name> | 2008-08-16 11:10:57 -0400 |
commit | 5b01880685f41a413f7590e75c6b219f258972f9 (patch) | |
tree | f6a76037398916212c754a1d67c6689ab07026f6 | |
parent | 35d17146213228445b0f30548aca01c9e1a71154 (diff) |
name omb_listener param so we can refer to it in error msg
darcs-hash:20080816151057-84dde-e9df2c91a2711b235aa936a28e250715fc7c6d50.gz
-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"); } |