Issue in assignments count
In Chamilo 184.108.40.206, in assignments, with more than 0 students and one assignment (and no student having sent no document), the main table says, in the "Handed out" column ("Cantidad enviada" in Spanish), "0/Array".
The issue comes from the CourseManager::get_user_list_from_course_code() method, whereby, if the session is not empty, the $return_count parameter seems not to be taken into account in the same way as it is taken when session id is empty.
Fix issue with users counting in task when session is defined, whereas the $return_count param was not taken into account if session_id != 0 - refs #7232
Fix issue with users counting in task, whereby the call to CourseManager::get_user_list_from_source_code() is made with a $status of STUDENT (=5), which is not equivalent to the status in the session_rel_course_rel_user table (as is the case here), thus not counting the students. This reverts commit e2784876 - refs #7232
Updated by Yannick Warnier about 5 years ago
- Status changed from Assigned to Bug resolved
- % Done changed from 0 to 100