there were duplicate freemarker variables being used; resolved this by changing the name of the variable used for the application or site name

This commit is contained in:
Tim Worrall 2014-06-20 13:08:55 -04:00
parent 90cec22e9d
commit 59ddbe15ec
21 changed files with 36 additions and 39 deletions

View file

@ -440,7 +440,7 @@ public class FreemarkerHttpServlet extends VitroHttpServlet {
ApplicationBean appBean = vreq.getAppBean();
// This may be overridden by the body data model received from the subcontroller.
map.put("title", getTitle(vreq.getAppBean().getApplicationName(), vreq));
map.put("siteName", getTitle(vreq.getAppBean().getApplicationName(), vreq));
map.put("urls", buildRequestUrls(vreq));