Permalink
Browse files

fix for MDL-13173: quotes in HotPot activity name

  • Loading branch information...
1 parent 58b037a commit 5a66d54c0579a73e6f6abfdd3d99dc37fc2fb066 gbateson committed Jan 26, 2008
Showing with 1 addition and 1 deletion.
  1. +1 −1 mod/hotpot/mod.html
View
@@ -33,7 +33,7 @@
print '<input type="hidden" name="namesource" value="'.HOTPOT_TEXTSOURCE_SPECIFIC.'">';
}
print '<span id="nameSPAN">';
- print '<input type="text" name="name" size=40 value="'.$form->name.'">';
+ print '<input type="text" name="name" size="40" value="'.htmlspecialchars($form->name).'" />';
print '</span>';
?></td>
</tr>

0 comments on commit 5a66d54

Please sign in to comment.