Fixed missing self:: prefix in static function call in fill_db_course

skala
Yannick Warnier 12 years ago
parent 37cb55c83a
commit 0b2c3978be
  1. 6
      main/inc/lib/course.lib.php

@ -4516,9 +4516,9 @@ class CourseManager {
$default_document_array = array();
foreach ($folders_to_copy_from_default_course as $folder) {
$default_course_folder_path = $default_course_path.$folder.'/';
$files = browse_folders($default_course_folder_path, array(), $folder);
$sorted_array = sort_pictures($files, 'dir');
$sorted_array = array_merge($sorted_array, sort_pictures($files, 'file'));
$files = self::browse_folders($default_course_folder_path, array(), $folder);
$sorted_array = self::sort_pictures($files, 'dir');
$sorted_array = array_merge($sorted_array, self::sort_pictures($files, 'file'));
$default_document_array[$folder] = $sorted_array;
}

Loading…
Cancel
Save