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() + ".");
|
+ VClass.class.getName() + ".");
|
||||||
}
|
}
|
||||||
|
|
||||||
String vclassUri = vclass.getURI();
|
|
||||||
body.put("vclassId", vclassUri);
|
|
||||||
vreq.setAttribute("displayType", vclassUri); // used by the template model object
|
|
||||||
|
|
||||||
if (vclass != null) {
|
if (vclass != null) {
|
||||||
|
|
||||||
|
String vclassUri = vclass.getURI();
|
||||||
|
body.put("vclassId", vclassUri);
|
||||||
|
vreq.setAttribute("displayType", vclassUri); // used by the template model object
|
||||||
|
|
||||||
// Set title and subtitle.
|
// Set title and subtitle.
|
||||||
VClassGroup classGroup = vclass.getGroup();
|
VClassGroup classGroup = vclass.getGroup();
|
||||||
String title;
|
String title;
|
||||||
|
|
Loading…
Add table
Reference in a new issue