Additional fix to document visibility issue - refs BT#7161

1.9.x
Yannick Warnier 11 years ago
parent ca2493ed04
commit 16eedf1fe6
  1. 3
      main/newscorm/learnpath.class.php

@ -7869,7 +7869,8 @@ class learnpath
*/
public function get_documents() {
$course_info = api_get_course_info();
$document_tree = DocumentManager::get_document_preview($course_info, $this->lp_id, null, 0, true);
$sessionId = api_get_session_id();
$document_tree = DocumentManager::get_document_preview($course_info, $this->lp_id, $sessionId, 0, true);
return $document_tree;
}

Loading…
Cancel
Save