diff --git a/src/main/java/org/olat/commons/file/filechooser/FileChooseCreateEditController.java b/src/main/java/org/olat/commons/file/filechooser/FileChooseCreateEditController.java
index 3feea88db6b5e5b77fa0d8fa4dcf979f080c22b3..e324e0f5ad2a50534b23f495993fa9c347df5e07 100644
--- a/src/main/java/org/olat/commons/file/filechooser/FileChooseCreateEditController.java
+++ b/src/main/java/org/olat/commons/file/filechooser/FileChooseCreateEditController.java
@@ -186,7 +186,7 @@ public class FileChooseCreateEditController extends BasicController{
 		
 		this.chosenFile = file;		
 		this.rootContainer = rContainer;
-		this.allowRelativeLinks = allowRelLinks;
+		this.allowRelativeLinks = allowRelLinks == null ? false : allowRelLinks.booleanValue();
 		this.myContent = createVelocityContainer("chosenfile");
 		editButton = LinkFactory.createButtonSmall("command.edit", myContent, this);
 		deleteButton = LinkFactory.createButtonSmall("command.delete", myContent, this);