Commit a15466b4 authored by Robert Lyon's avatar Robert Lyon

Bug 1719491: Escape string for default license

Which is only the user's name

Change-Id: I01d3dab89c0f48b6b734b31690f1b4036c7cf7a6
Signed-off-by: Robert Lyon's avatarRobert Lyon <>
(cherry picked from commit 974728dd)
parent 6cb55c8d
......@@ -270,7 +270,7 @@ function render_license($artefact) {
return get_string('licensenonedetailedowner');
else {
return get_string('licensenonedetailed', 'mahara', $artefact->display_owner());
return get_string('licensenonedetailed', 'mahara', hsc($artefact->display_owner()));
if (strpos($license, '://') === FALSE) {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment