From 94ceb10771a5ab0bdd10ddbf50cdd2b237730d7f Mon Sep 17 00:00:00 2001 From: Stanislas Dolcini Date: Tue, 2 Oct 2018 22:41:10 +0200 Subject: [PATCH] Put each global on a new line --- code/web/public_php/login/r2_login.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/code/web/public_php/login/r2_login.php b/code/web/public_php/login/r2_login.php index 9f4ff1ab2..2558a0410 100755 --- a/code/web/public_php/login/r2_login.php +++ b/code/web/public_php/login/r2_login.php @@ -148,8 +148,11 @@ function err_callback($errno, $errmsg, $filename, $linenum, $vars) */ function checkUserValidity($login, $password, $clientApplication, $cp, &$id, &$reason, &$priv, &$extended, &$domainId, $lang) { - global $DBHost, $DBUserName, $DBPassword, $DBName, $AcceptUnknownUser; - + global $DBHost; + global $DBUserName; + global $DBPassword; + global $DBName; + global $AcceptUnknownUser; setMsgLanguage($lang); $link = mysqli_connect($DBHost, $DBUserName, $DBPassword) or die(errorMsgBlock(3004, 'main', $DBHost, $DBUserName));