diff options
author | Zach Copley <zach@status.net> | 2010-10-22 00:48:26 +0000 |
---|---|---|
committer | Zach Copley <zach@status.net> | 2010-10-22 00:48:26 +0000 |
commit | aa6ec40c51bc25711cf9b202c7ed5fa2f06f8db4 (patch) | |
tree | 21481d6e63b32d03b6744797be1a97740a9b7fcd /actions/apioauthauthorize.php | |
parent | ce0d81c19010a7eb25a721ad8662d82327139561 (diff) |
Fix syntax errors
Diffstat (limited to 'actions/apioauthauthorize.php')
-rw-r--r-- | actions/apioauthauthorize.php | 4 |
1 files 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; |