From c4d495ef3d1799d4f245b91811d28a20ae7df932 Mon Sep 17 00:00:00 2001 From: Yannick Warnier Date: Wed, 20 Feb 2008 03:46:30 +0100 Subject: [PATCH] [svn r14324] Avoiding reference translation when copying SCORM content --- main/coursecopy/classes/CourseRestorer.class.php | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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 +?>