Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/Evolveum/midpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
katkav committed Apr 16, 2020
2 parents 3a1000d + aefe294 commit eea3573
Showing 1 changed file with 4 additions and 1 deletion.
Expand Up @@ -235,7 +235,10 @@ public String translate(PolyString polyString, Locale locale, boolean allowOrig)
}
}
if (polyString.getTranslation() != null) {
return translate(polyString.getTranslation(), locale);
String value = translate(polyString.getTranslation(), locale);
if (value != null){
return value;
}
}
if (allowOrig) {
return polyString.getOrig();
Expand Down

0 comments on commit eea3573

Please sign in to comment.