fix for MDL-13173: quotes in HotPot activity name

This commit is contained in:
gbateson 2008-01-26 08:26:38 +00:00
parent 14c5382464
commit c447099bda

View file

@ -77,7 +77,7 @@ $text_source_options = array(
} else { } else {
print '<input type="hidden" name="namesource" value="'.HOTPOT_TEXTSOURCE_SPECIFIC.'" />'; print '<input type="hidden" name="namesource" value="'.HOTPOT_TEXTSOURCE_SPECIFIC.'" />';
} }
print '<input type="text" name="name" size="40" value="'.$form->name.'" />'; print '<input type="text" name="name" size="40" value="'.htmlspecialchars($form->name).'" />';
?></td> ?></td>
</tr> </tr>
<tr valign="top"> <tr valign="top">