diff --git a/samigo/samigo-services/src/java/org/sakaiproject/tool/assessment/facade/AssessmentFacadeQueries.java b/samigo/samigo-services/src/java/org/sakaiproject/tool/assessment/facade/AssessmentFacadeQueries.java index efa417d192a7..ffd314cc0b06 100644 --- a/samigo/samigo-services/src/java/org/sakaiproject/tool/assessment/facade/AssessmentFacadeQueries.java +++ b/samigo/samigo-services/src/java/org/sakaiproject/tool/assessment/facade/AssessmentFacadeQueries.java @@ -781,7 +781,7 @@ public int getQuestionSize(final Long assessmentId) { List size = getHibernateTemplate().execute(hcb); if (!size.isEmpty()) { - size.get(0).intValue(); + return size.get(0).intValue(); } return 0; }