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