[VIVO-1229] fix siteName and title variable mixup

This commit is contained in:
Benjamin Gross 2016-02-16 10:08:23 -07:00
parent 9ff3dd5e11
commit 7c42bb3c9f

View file

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