diff --git a/main/coursecopy/classes/CourseRestorer.class.php b/main/coursecopy/classes/CourseRestorer.class.php index 63bb96fac6..03841881b1 100644 --- a/main/coursecopy/classes/CourseRestorer.class.php +++ b/main/coursecopy/classes/CourseRestorer.class.php @@ -1,7 +1,7 @@ lp_type!='2'){ $ref = $this->get_new_id($item['item_type'],$item['ref']); + }else{ + $ref = $item['ref']; } //Dealing with path the same way as ref as some data has been put into path when it's a //local resource @@ -861,4 +863,4 @@ class CourseRestorer return ''; } } -?> \ No newline at end of file +?>