From dcadbe3487ff05ad7781a7ec8e55f29a4883c1bc Mon Sep 17 00:00:00 2001 From: Stanislas Dolcini Date: Tue, 2 Oct 2018 22:57:02 +0200 Subject: [PATCH] Fix comment --- code/web/public_php/login/r2_login.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/code/web/public_php/login/r2_login.php b/code/web/public_php/login/r2_login.php index 843f12b85..67eb935c6 100755 --- a/code/web/public_php/login/r2_login.php +++ b/code/web/public_php/login/r2_login.php @@ -173,10 +173,8 @@ function checkUserValidity($login, $password, $clientApplication, $cp, &$id, &$r return false; } - $row = mysqli_fetch_array($result); + // retrieve the domain info $domainId = $row[0]; - - // retreive the domain info $domainInfo = getDomainInfo($domainId); // convert the domain status enum into the privilege access set