[VIVO-1229] fix siteName and title variable mixup
This commit is contained in:
parent
9ff3dd5e11
commit
7c42bb3c9f
1 changed files with 4 additions and 2 deletions
|
@ -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));
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue