From a4fdea159096a8807491bee45288ee04f121db00 Mon Sep 17 00:00:00 2001 From: Marcus Bointon Date: Fri, 28 Jul 2017 10:48:35 +0200 Subject: [PATCH] Combine echo & exit --- get_oauth_token.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/get_oauth_token.php b/get_oauth_token.php index 40c46aa5..89aa3aaa 100644 --- a/get_oauth_token.php +++ b/get_oauth_token.php @@ -115,8 +115,7 @@ switch ($providerName) { } if (is_null($provider)) { - echo 'Provider missing'; - exit; + exit('Provider missing'); } if (!isset($_GET['code'])) {