Fix für NPE wenn keine ShortDescription vorhanden ist.
git-svn-id: https://svn.libreccm.org/ccm/trunk@1356 8810af33-2d31-482b-a856-94f89814c4dfmaster
parent
9f4b82bd16
commit
afea8da49e
|
|
@ -70,6 +70,7 @@ public class SciDepartmentSummaryTab implements GenericOrgaUnitTab {
|
|||
final long start = System.currentTimeMillis();
|
||||
|
||||
if ((department != null)
|
||||
&& (department.getDepartmentShortDescription() != null)
|
||||
&& !department.getDepartmentShortDescription().trim().isEmpty()) {
|
||||
final Element shortDescElem = parent.newChildElement("shortDesc");
|
||||
shortDescElem.setText(department.getDepartmentShortDescription());
|
||||
|
|
|
|||
Loading…
Reference in New Issue