From aa6ec40c51bc25711cf9b202c7ed5fa2f06f8db4 Mon Sep 17 00:00:00 2001 From: Zach Copley Date: Fri, 22 Oct 2010 00:48:26 +0000 Subject: Fix syntax errors --- actions/apioauthauthorize.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/actions/apioauthauthorize.php b/actions/apioauthauthorize.php index 30fe77ec8..0b6cf34bd 100644 --- a/actions/apioauthauthorize.php +++ b/actions/apioauthauthorize.php @@ -560,7 +560,7 @@ class ApiOauthAuthorizeAction extends Action // TRANS: User notification after revoking OAuth access to an application. // TRANS: %s is an OAuth token. _('The request token %s has been revoked.'), - $this->oauthTokenParm + $this->oauthTokenParam ) ); @@ -618,7 +618,7 @@ class ApiOauthAuthorizeAction extends Action $callback = null; // Return the verified callback if we have one - if ($this->app->type == 2) { + if ($this->reqToken->verified_callback != 'oob') { $callback = $this->reqToken->verified_callback; -- cgit v1.2.3