From 8960cab08beed8e876d8f5377c706137f78af4b3 Mon Sep 17 00:00:00 2001 From: Nicolas Ducoulombier Date: Wed, 2 Mar 2016 12:31:14 +0100 Subject: [PATCH] Fix error course info -refs BT#8986 --- main/coursecopy/copy_course_session_selected.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/coursecopy/copy_course_session_selected.php b/main/coursecopy/copy_course_session_selected.php index 10bf76b702..0a8de648be 100644 --- a/main/coursecopy/copy_course_session_selected.php +++ b/main/coursecopy/copy_course_session_selected.php @@ -30,7 +30,7 @@ if (!api_is_coach()) { } $courseId = api_get_course_int_id(); -$courseInfo = api_get_course_info($courseId); +$courseInfo = api_get_course_info_by_id($courseId); $courseCode = $courseInfo['code']; $sessionId = api_get_session_id();