Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

as per other mods, use "strip_slashes" and "format_string" when print…

…ing HotPot name to browser
  • Loading branch information...
commit 49ebbad5fa7ae13e3d97e22db86c2fc31118c2b9 1 parent e873787
gbateson authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  mod/hotpot/restorelib.php
View
2  mod/hotpot/restorelib.php
@@ -77,7 +77,7 @@ function hotpot_restore_mods($mod, $restore) {
$more_restore = '';
// print a message after each hotpot is backed up
if (!defined('RESTORE_SILENTLY')) {
- $more_restore .= 'print "<li>".get_string("modulename", "hotpot")." &quot;".$record->name."&quot;</li>";';
+ $more_restore .= 'print "<li>".get_string("modulename", "hotpot")." &quot;".format_string(stripslashes($record->name),true)."&quot;</li>";';
}
$more_restore .= 'backup_flush(300);';
if (function_exists('restore_userdata_selected')) {
Please sign in to comment.
Something went wrong with that request. Please try again.