Permalink
Browse files

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

…ing HotPot name to browser
  • Loading branch information...
gbateson
gbateson committed Oct 5, 2006
1 parent e873787 commit 49ebbad5fa7ae13e3d97e22db86c2fc31118c2b9
Showing with 1 addition and 1 deletion.
  1. +1 −1 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')) {

0 comments on commit 49ebbad

Please sign in to comment.