Commits

Anonymous committed 5f81851

Comments (0)

Files changed (1)

src/java/com/opensymphony/xwork2/util/LocalizedTextUtil.java

             result = getDefaultMessage(aTextName, locale, valueStack, args, defaultMessage);
         } else {
             result = getDefaultMessage(aTextName, locale, valueStack, args, null);
-            if (result.message != null && result.message != null) {
+            if (result != null && result.message != null) {
                 return result.message;
             }
             result = getDefaultMessage(indexedTextName, locale, valueStack, args, defaultMessage);