Fix for calls static function whitout 5 params

1.9.x
Daniel Barreto 11 years ago
parent 79e012dec9
commit 3465981385
  1. 2
      main/inc/lib/course.lib.php

@ -1558,7 +1558,7 @@ class CourseManager
* @param date $date_to
* @return array with user id
*/
public static function get_student_list_from_course_code($course_code, $with_session = false, $session_id = 0, $date_from, $date_to) {
public static function get_student_list_from_course_code($course_code, $with_session = false, $session_id = 0, $date_from = null, $date_to = null) {
$session_id = intval($session_id);
$course_code = Database::escape_string($course_code);

Loading…
Cancel
Save