Skip to content
Snippets Groups Projects
Commit e60d6808 authored by Robert Goldmann's avatar Robert Goldmann
Browse files

#338 - trim template name

parent e78e75e0
Branches
Tags
No related merge requests found
......@@ -155,6 +155,8 @@ public class TemplateController extends BaseController
@RequestParam(value = "isPayment", required = false) boolean isPayment,
@RequestParam(value = "includeAccount", required = false) boolean includeAccount)
{
template.setTemplateName(template.getTemplateName().trim());
String previousTemplateName = null;
boolean isEdit = template.getID() != null;
if(isEdit)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment