Skip to content

Commit

Permalink
Merge pull request #1655 from Luis-Cruz/feature/ACDM-1777-3
Browse files Browse the repository at this point in the history
Avoid NPE
  • Loading branch information
Luis-Cruz authored Aug 26, 2020
2 parents 4ee84a7 + 69900a8 commit 636531e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ private boolean isDislocated(final Registration registration) {
}
final PersonalIngressionData personalIngressionData = registration.getStudent().getLatestPersonalIngressionData();
if (personalIngressionData != null) {
if (personalIngressionData.getDislocatedFromPermanentResidence()) {
if (isTrue(personalIngressionData.getDislocatedFromPermanentResidence())) {
return true;
}
}
Expand Down

0 comments on commit 636531e

Please sign in to comment.