mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
added "format_string" and "stripslashes" when print HotPot name to browser
This commit is contained in:
parent
e27a943788
commit
259bcf0c8b
1 changed files with 1 additions and 1 deletions
|
@ -78,7 +78,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")." "".$record->name.""</li>";';
|
||||
$more_restore .= 'print "<li>".get_string("modulename", "hotpot")." "".format_string(stripslashes($record->name),true).""</li>";';
|
||||
}
|
||||
$more_restore .= 'backup_flush(300);';
|
||||
if (function_exists('restore_userdata_selected')) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue