Index: WAeUP_SRP/trunk/skins/waeup_student/getRetStudentStatistics.py
===================================================================
--- WAeUP_SRP/trunk/skins/waeup_student/getRetStudentStatistics.py	(revision 1535)
+++ WAeUP_SRP/trunk/skins/waeup_student/getRetStudentStatistics.py	(revision 1536)
@@ -42,12 +42,12 @@
     dep['id'] = fid
     fquery = Eq('faculty',fid)
-    fac_res = aq_students(fquery)
-    fac_ids = [r.id for r in fac_res]
-    total = float(len(fac_res))
+    stud_res = aq_students(fquery)
+    stud_ids = [r.id for r in stud_res]
+    total = float(len(stud_res))
 
     if total == 0:
         continue
 
-    ret = len([s for s in fac_ids if s in ret_ids])
+    ret = len([s for s in stud_ids if s in ret_ids])
     dep['returned'] = ret
     sum += ret
