Skip to content
Snippets Groups Projects
Commit abfd5869 authored by gnaegi's avatar gnaegi
Browse files

OO-644 fix broken lti privacy support

parent eb378af2
No related branches found
No related tags found
No related merge requests found
...@@ -236,7 +236,9 @@ public class LTIRunController extends BasicController { ...@@ -236,7 +236,9 @@ public class LTIRunController extends BasicController {
if(value.startsWith(LTIManager.USER_PROPS_PREFIX)) { if(value.startsWith(LTIManager.USER_PROPS_PREFIX)) {
String userProp = value.substring(LTIManager.USER_PROPS_PREFIX.length(), value.length()); String userProp = value.substring(LTIManager.USER_PROPS_PREFIX.length(), value.length());
value = user.getProperty(userProp, null); value = user.getProperty(userProp, null);
customUserData.put(userProp, value); if (value!= null) {
customUserData.put(userProp, value);
}
} }
} }
} }
...@@ -269,7 +271,7 @@ public class LTIRunController extends BasicController { ...@@ -269,7 +271,7 @@ public class LTIRunController extends BasicController {
if (isLogDebugEnabled()) { if (isLogDebugEnabled()) {
logDebug("Create accept hash::" + hash + " for data::" + data, null); logDebug("Create accept hash::" + hash + " for data::" + data, null);
} }
return null; return hash;
} }
/** /**
......
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