Skip to content

Commit

Permalink
PLAG-140 Update Sakai Content Review to upload inline and multiple files
Browse files Browse the repository at this point in the history
  • Loading branch information
Bryan Holladay authored and Bryan Holladay committed Apr 17, 2014
1 parent b22bdc2 commit e0ac55e
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -591,8 +591,10 @@ private String getAssignmentTitle(String assignmentRef){
Reference ref = entityManager.newReference(assignmentRef);
EntityProducer ep = ref.getEntityProducer();
Entity ent = ep.getEntity(ref);
assignmentTitle = URLDecoder.decode(ent.getClass().getMethod("getTitle").invoke(ent).toString(),"UTF-8");
assignmentTitleCache.put(assignmentRef, assignmentTitle);
if(ent != null){
assignmentTitle = URLDecoder.decode(ent.getClass().getMethod("getTitle").invoke(ent).toString(),"UTF-8");
assignmentTitleCache.put(assignmentRef, assignmentTitle);
}
} catch (Exception e) {
e.printStackTrace();
}
Expand Down

0 comments on commit e0ac55e

Please sign in to comment.