Commit 077b6e4e authored by Matt Tucker's avatar Matt Tucker Committed by matt

Handle null values better.


git-svn-id: http://svn.igniterealtime.org/svn/repos/messenger/trunk@1137 b35dd754-fafc-0310-a699-88a17e54d16e
parent 340e52b9
......@@ -181,6 +181,9 @@ public class TabsTag extends BodyTagSupport {
}
private String i18n(String in) {
if (in == null) {
return null;
}
// Look for the key symbol:
if (in.indexOf("${") == 0 && in.indexOf("}") == in.length()-1) {
return LocaleUtils.getLocalizedString(in.substring(2, in.length()-1));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment