From c9ab691d206c623e9aa398748b9318f3c4c3fc0a Mon Sep 17 00:00:00 2001
From: srosse <stephane.rosse@frentix.com>
Date: Wed, 1 Jul 2020 09:27:18 +0200
Subject: [PATCH] OO-4767: don't go to drop box as default

---
 .../org/olat/course/nodes/pf/ui/PFParticipantController.java  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/main/java/org/olat/course/nodes/pf/ui/PFParticipantController.java b/src/main/java/org/olat/course/nodes/pf/ui/PFParticipantController.java
index f30c68108d5..ad4feb78dee 100644
--- a/src/main/java/org/olat/course/nodes/pf/ui/PFParticipantController.java
+++ b/src/main/java/org/olat/course/nodes/pf/ui/PFParticipantController.java
@@ -91,7 +91,7 @@ public class PFParticipantController extends BasicController {
 		//CourseFreeze
 
 		pfView = pfManager.providePFView(pfNode);
-		String path = null;
+		String path;
 		switch(pfView) {
 			case displayDrop:
 				path = translate("drop.box");
@@ -100,7 +100,7 @@ public class PFParticipantController extends BasicController {
 				path = translate("return.box");
 				break;
 			default:
-				path = translate("drop.box");
+				path = null;
 				break;
 		}
 		initFolderController(ureq, path);
-- 
GitLab