NIHVIVO-3340 Correct the position of the test for null vclass.
This commit is contained in:
parent
2a07955c10
commit
27e3a840eb
1 changed files with 4 additions and 4 deletions
|
@ -78,12 +78,12 @@ public class IndividualListController extends FreemarkerHttpServlet {
|
|||
+ VClass.class.getName() + ".");
|
||||
}
|
||||
|
||||
if (vclass != null) {
|
||||
|
||||
String vclassUri = vclass.getURI();
|
||||
body.put("vclassId", vclassUri);
|
||||
vreq.setAttribute("displayType", vclassUri); // used by the template model object
|
||||
|
||||
if (vclass != null) {
|
||||
|
||||
// Set title and subtitle.
|
||||
VClassGroup classGroup = vclass.getGroup();
|
||||
String title;
|
||||
|
|
Loading…
Add table
Reference in a new issue