From 2275fecec0677800676ddc65d3785581ad8daf57 Mon Sep 17 00:00:00 2001 From: gerhard6380 Date: Mon, 1 May 2017 16:47:17 +0200 Subject: [PATCH] line breaks by mistake reversed --- include/api.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/include/api.php b/include/api.php index 02e7091e8c..cde0f96eae 100644 --- a/include/api.php +++ b/include/api.php @@ -3253,8 +3253,7 @@ $called_api = null; try { $oauth = new FKOAuth1(); $r = $oauth->fetch_request_token(OAuthRequest::from_request()); - } - catch (Exception $e) { + } catch (Exception $e) { echo "error=" . OAuthUtil::urlencode_rfc3986($e->getMessage()); killme(); } @@ -3266,8 +3265,7 @@ $called_api = null; try { $oauth = new FKOAuth1(); $r = $oauth->fetch_access_token(OAuthRequest::from_request()); - } - catch (Exception $e) { + } catch (Exception $e) { echo "error=". OAuthUtil::urlencode_rfc3986($e->getMessage()); killme(); } echo $r;