From 32218684d9679df450190cdc95654343edca9f8c Mon Sep 17 00:00:00 2001
From: srosse <none@none>
Date: Tue, 14 Feb 2012 17:19:08 +0100
Subject: [PATCH] no-jira: fix the xstream settings which make the whole
 package independent

---
 src/main/java/org/olat/course/PersistingCourseImpl.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main/java/org/olat/course/PersistingCourseImpl.java b/src/main/java/org/olat/course/PersistingCourseImpl.java
index 51ee7358c17..bff72047189 100644
--- a/src/main/java/org/olat/course/PersistingCourseImpl.java
+++ b/src/main/java/org/olat/course/PersistingCourseImpl.java
@@ -429,7 +429,7 @@ public class PersistingCourseImpl implements ICourse, OLATResourceable, Serializ
 		if (vfsItem == null || !(vfsItem instanceof VFSLeaf)) {
 			throw new AssertException("Cannot resolve file: " + fileName + " course=" + toString());
 		}
-		XStream xstream = CourseXStreamAliases.getWriteCourseXStream();
+		XStream xstream = CourseXStreamAliases.getReadCourseXStream();
 		return XStreamHelper.readObject(xstream, ((VFSLeaf)vfsItem).getInputStream());
 	}
 
-- 
GitLab