Put default value function set_file_option - ref #6917

1.9.x
Hubert Borderiou 11 years ago
parent 05e25d0cb2
commit 22b54c4605
  1. 2
      main/coursecopy/classes/CourseRestorer.class.php

@ -108,7 +108,7 @@ class CourseRestorer
* Set the file-option
* @param constant $options What to do with files with same name (FILE_SKIP, FILE_RENAME or FILE_OVERWRITE)
*/
function set_file_option($option)
function set_file_option($option=FILE_OVERWRITE)
{
$this->file_option = $option;
}

Loading…
Cancel
Save