Commit 4bf4e2be7b893330f22acb6b9edbefc92167c557

Authored by Tiago Guimarães
1 parent a634d089f1
Exists in DSpace52++

fixed problem using getParameter instead of getAtribute

dspace-jspui/src/main/webapp/feedback/form.jsp
... ... @@ -23,7 +23,7 @@
23 23 <script src='https://www.google.com/recaptcha/api.js'></script>
24 24  
25 25 <%
26   - boolean problem = (request.getParameter("feedback.problem") != null);
  26 + boolean problem = (request.getAttribute("feedback.problem") != null);
27 27 String email = request.getParameter("email");
28 28  
29 29 if (email == null || email.equals("")) {
... ... @@ -57,7 +57,7 @@
57 57 if (problem) {
58 58 %>
59 59 <%-- <p><strong>Please fill out all of the information below.</strong></p> --%>
60   - <p><strong><fmt:message key="jsp.feedback.form.text2"/></strong></p>
  60 + <div class="alert alert-warning"><p><strong><fmt:message key="jsp.feedback.form.text2"/></strong></p></div>
61 61 <%
62 62 }
63 63 %>
... ...