Skip to content

Commit

Permalink
GH-150 Fix validation of taken params
Browse files Browse the repository at this point in the history
  • Loading branch information
mdziekon committed Mar 19, 2022
1 parent ab468f9 commit 23a0f77
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions reg_ajax.php
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,8 @@
}

if (
$validationResult['email']['isSuccess'] === true &&
$validationResult['username']['isSuccess'] === true
$validationResults['email']['isSuccess'] === true &&
$validationResults['username']['isSuccess'] === true
) {
$takenParamsValidationResult = Registration\Validators\validateTakenParams([
'username' => $Username,
Expand Down

0 comments on commit 23a0f77

Please sign in to comment.