Skip to content
Snippets Groups Projects
Commit 592e26ac authored by srosse's avatar srosse
Browse files

Merge OpenOLAT 10.5 to OpenOLAT 11.0 with 22c7392244409700a9b46e92cc3960dbf226f21b

parents 63565fac a10f0781
No related branches found
No related tags found
No related merge requests found
......@@ -26,6 +26,7 @@
package org.olat.modules.iq;
import java.io.File;
import java.io.UnsupportedEncodingException;
import java.util.Iterator;
import java.util.List;
import java.util.Locale;
......@@ -456,9 +457,14 @@ public class IQDisplayController extends DefaultController implements GenericEve
}
if (wfCommand.equals("memo")) {
ai.setMemo(ureq.getParameter("id"), ureq.getParameter("p"));
ai.persist();
return;
try {
String memo = java.net.URLDecoder.decode(ureq.getParameter("p"), "UTF-8");
ai.setMemo(ureq.getParameter("id"), memo);
ai.persist();
return;
} catch (UnsupportedEncodingException ex) {
log.info("Could not decode memo text " + ureq.getParameter("p"));
}
}
logAudit(ureq);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment