From: Zach Copley Date: Tue, 12 Oct 2010 23:19:53 +0000 (-0700) Subject: Print a proper error message X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=d8e06e66e9d4e3312f8d645a13680dc8046ca3a2;p=quix0rs-gnu-social.git Print a proper error message --- diff --git a/actions/apioauthaccesstoken.php b/actions/apioauthaccesstoken.php index b8b188b1dc..663a7a2bb6 100644 --- a/actions/apioauthaccesstoken.php +++ b/actions/apioauthaccesstoken.php @@ -105,7 +105,7 @@ class ApiOauthAccessTokenAction extends ApiOauthAction common_log(LOG_WARNING, $msg); - print "Invalid request token or verifier."; + $this->clientError(_("Invalid request token or verifier.", 400, 'text')); } else { $this->showAccessToken($atok);