diff --git a/dhis-2/dhis-api/src/main/java/org/hisp/dhis/organisationunit/OrganisationUnit.java b/dhis-2/dhis-api/src/main/java/org/hisp/dhis/organisationunit/OrganisationUnit.java index 4ad96db1e95..6e5c21b42c7 100644 --- a/dhis-2/dhis-api/src/main/java/org/hisp/dhis/organisationunit/OrganisationUnit.java +++ b/dhis-2/dhis-api/src/main/java/org/hisp/dhis/organisationunit/OrganisationUnit.java @@ -783,9 +783,7 @@ public String getPath() { Collections.reverse(pathList); - this.path = PATH_SEP + StringUtils.join(pathList, PATH_SEP); - - return this.path; + return PATH_SEP + StringUtils.join(pathList, PATH_SEP); } /**