From d8e06e66e9d4e3312f8d645a13680dc8046ca3a2 Mon Sep 17 00:00:00 2001 From: Zach Copley Date: Tue, 12 Oct 2010 16:19:53 -0700 Subject: [PATCH] Print a proper error message --- actions/apioauthaccesstoken.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.39.5