small correction
This commit is contained in:
parent
ba04890f44
commit
19d00486d9
1 changed files with 2 additions and 4 deletions
|
@ -201,10 +201,8 @@ public class RouteDataObject {
|
|||
}
|
||||
}
|
||||
}
|
||||
if(transliterate && destinationDefault != null) {
|
||||
return destRef1 + Junidecode.unidecode(destinationDefault);
|
||||
} else if (destinationDefault != null) {
|
||||
return destRef1 + destinationDefault;
|
||||
if(destinationDefault != null) {
|
||||
return destRef1 + ((transliterate) ? Junidecode.unidecode(destinationDefault) : destinationDefault);
|
||||
}
|
||||
}
|
||||
return "".equals(destRef) ? null : destRef;
|
||||
|
|
Loading…
Reference in a new issue