Feature #539 - main/inc/lib/add_course.lib.inc.php: A correction to the previous transaction.

skala
Ivan Tcholakov 14 years ago
parent 269fc2a8fd
commit 5124ac632c
  1. 4
      main/inc/lib/add_course.lib.inc.php

@ -1868,7 +1868,7 @@ function sort_pictures($files, $type) {
function fill_course_repository($course_repository, $fill_with_exemplary_content = null) {
if (is_null($fill_with_exemplary_content)) {
$fill_with_exemplary_content = api_get_setting('example_material_course_creation');
$fill_with_exemplary_content = api_get_setting('example_material_course_creation') != 'false';
}
$sys_course_path = api_get_path(SYS_COURSE_PATH);
@ -2053,7 +2053,7 @@ function lang2db($string) {
function fill_Db_course($course_db_name, $course_repository, $language, $default_document_array = array(), $fill_with_exemplary_content = null) {
if (is_null($fill_with_exemplary_content)) {
$fill_with_exemplary_content = api_get_setting('example_material_course_creation');
$fill_with_exemplary_content = api_get_setting('example_material_course_creation') != 'false';
}
global $_configuration, $_user;

Loading…
Cancel
Save