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
Merge branch '1.9.x' of github.com:chamilo/chamilo-lms into 1.9.x