Fix error course info -refs BT#8986

ofaj
Nicolas Ducoulombier 9 years ago
parent 5f92ba5660
commit 8960cab08b
  1. 2
      main/coursecopy/copy_course_session_selected.php

@ -30,7 +30,7 @@ if (!api_is_coach()) {
} }
$courseId = api_get_course_int_id(); $courseId = api_get_course_int_id();
$courseInfo = api_get_course_info($courseId); $courseInfo = api_get_course_info_by_id($courseId);
$courseCode = $courseInfo['code']; $courseCode = $courseInfo['code'];
$sessionId = api_get_session_id(); $sessionId = api_get_session_id();

Loading…
Cancel
Save