From 5b01880685f41a413f7590e75c6b219f258972f9 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Sat, 16 Aug 2008 11:10:57 -0400 Subject: name omb_listener param so we can refer to it in error msg darcs-hash:20080816151057-84dde-e9df2c91a2711b235aa936a28e250715fc7c6d50.gz --- actions/userauthorization.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'actions/userauthorization.php') 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"); } -- cgit v1.2.3-54-g00ecf