@@ -6110,8 +6110,8 @@ discard block |
||
6110 | 6110 | $course_id = api_get_course_int_id(); |
6111 | 6111 | } |
6112 | 6112 | |
6113 | - $creatorId = empty($creatorId) ? api_get_user_id() : $creatorId; |
|
6114 | - $sessionId = api_get_session_id(); |
|
6113 | + $creatorId = empty($creatorId) ? api_get_user_id() : $creatorId; |
|
6114 | + $sessionId = api_get_session_id(); |
|
6115 | 6115 | |
6116 | 6116 | // Generates folder |
6117 | 6117 | $result = $this->generate_lp_folder($courseInfo); |
@@ -11162,7 +11162,7 @@ discard block |
||
11162 | 11162 | |
11163 | 11163 | $typeListNotToVerify = self::getChapterTypes(); |
11164 | 11164 | |
11165 | - // Using get_toc() function instead $this->items because returns the correct order of the items |
|
11165 | + // Using get_toc() function instead $this->items because returns the correct order of the items |
|
11166 | 11166 | foreach ($this->get_toc() as $item) { |
11167 | 11167 | if (!in_array($item['type'], $typeListNotToVerify)) { |
11168 | 11168 | $lpItemId[] = $item['id']; |