Skip to content
Browse files

issue #18509: cleaner code

  • Loading branch information...
1 parent 0110d3a commit 9ec8fc5977bdcc78d05ac6c599be81e185067162 @shackbarth committed Nov 10, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/routes/export.js
View
2 lib/routes/export.js
@@ -196,7 +196,7 @@ regexp:true, undef:true, strict:true, trailing:true, white:true */
queryObject = JSON.parse(requestDetails);
recordType = queryObject.query.recordType;
// suffix() would be better than substring() but doesn't exist here yet
- filename = recordType.substring(3).replace("ListItem", "") + "Export";
+ filename = recordType.substring(3).replace("ListItem", "Export");
} catch (error) {
// "export" will have to do.

0 comments on commit 9ec8fc5

Please sign in to comment.
Something went wrong with that request. Please try again.