From: Zach Copley Date: Fri, 22 Oct 2010 00:48:26 +0000 (+0000) Subject: Fix syntax errors X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=aa6ec40c51bc25711cf9b202c7ed5fa2f06f8db4;p=quix0rs-gnu-social.git Fix syntax errors --- diff --git a/actions/apioauthauthorize.php b/actions/apioauthauthorize.php index 30fe77ec83..0b6cf34bd2 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;