Commits

Anonymous committed d7c89a8

fix for config browser
Issue number:
Obtained from:
Submitted by:
Reviewed by:

git-svn-id: http://svn.opensymphony.com/svn/webwork/trunk@2111573baa09-0c28-0410-bef9-dab3c582ae83

  • Participants
  • Parent commits 791606f

Comments (0)

Files changed (1)

src/java/com/opensymphony/webwork/config_browser/ActionNamesAction.java

 
     public String getExtension() {
         if ( extension == null) {
-            extension = (String) Configuration.get(WebWorkConstants.WEBWORK_ACTION_EXTENSION);
-            if ( extension.equals("")) {
+            String ext = (String) Configuration.get(WebWorkConstants.WEBWORK_ACTION_EXTENSION);
+            if ( ext == null || ext.equals("")) {
                 extension = "action";
+            } else {
+                extension = ext;
             }
         }
         return extension;