Rev 1670 | Rev 1692 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1670 | Rev 1686 | ||
---|---|---|---|
Line 222... | Line 222... | ||
222 | // c.setArea(area); |
222 | // c.setArea(area); |
223 | CourseDepartment department = DaoFactory.getCourseDepartmentDaoImpl().findBySigla(area); |
223 | CourseDepartment department = DaoFactory.getCourseDepartmentDaoImpl().findBySigla(area); |
224 | if(department != null) |
224 | if(department != null) |
225 | { |
225 | { |
226 | c.setDepartment(department); |
226 | c.setDepartment(department); |
- | 227 | if(department != null) |
|
227 | c.setInstitutionalCode(department.getCourseSchool().getInstitutionalCode()); |
228 | c.setInstitutionalCode(department.getCourseSchool().getInstitutionalCode()); |
228 | } |
229 | } |
229 | 230 | ||
230 | c.setDegree(degree); |
231 | c.setDegree(degree); |
231 | c.setDescription(description); |
232 | c.setDescription(description); |