Bug #5251 fix at start, default invisible

skala
Juan Carlos Raña 13 years ago
parent c2aee4a5a3
commit 853e64a9e6
  1. 2
      main/newscorm/learnpath.class.php

@ -5309,7 +5309,7 @@ class learnpath {
$filepath = api_get_path(SYS_COURSE_PATH) . $course['path'] . '/document';
$folder = null;
if (!is_dir($filepath.'/'.$dir)) {
$folder = create_unexisting_directory($course, api_get_user_id(), api_get_session_id(), 0, 0, $filepath, $dir , get_lang('LearningPaths'));
$folder = create_unexisting_directory($course, api_get_user_id(), api_get_session_id(), 0, 0, $filepath, $dir , get_lang('LearningPaths'),0);
} else {
$folder = true;
}

Loading…
Cancel
Save