Minor - format code

1.10.x
Julio Montoya 11 years ago
parent 77face058c
commit bc061c24fc
  1. 4
      main/newscorm/learnpath.class.php

@ -9535,8 +9535,8 @@ EOD;
switch ($item->type) {
case 'document':
// Getting documents from a LP with chamilo documents
$file_data = DocumentManager::get_document_data_by_id($item->path, $this->cc);
$file_path = api_get_path(SYS_COURSE_PATH).$course_data['path'].'/document'.$file_data['path'];
$fileData = DocumentManager::get_document_data_by_id($item->path, $this->cc);
$file_path = api_get_path(SYS_COURSE_PATH).$course_data['path'].'/document'.$fileData['path'];
if (file_exists($file_path)) {
$files_to_export[] = array('title'=>$item->get_title(),'path'=>$file_path);
}

Loading…
Cancel
Save