diff --git a/backup/backuplib.php b/backup/backuplib.php index b5bee741491..371d16bf58e 100644 --- a/backup/backuplib.php +++ b/backup/backuplib.php @@ -1726,7 +1726,7 @@ } if ($result != $content && $CFG->debug>7) { //Debug - echo '

'.htmlentities($content).'
changed to
'.htmlentities($result).'

'; //Debug + echo '

'.s($content).'
changed to
'.s($result).'

'; //Debug } //Debug return $result; diff --git a/backup/restorelib.php b/backup/restorelib.php index 5d29e22981c..ecc924e5f42 100644 --- a/backup/restorelib.php +++ b/backup/restorelib.php @@ -2261,7 +2261,7 @@ if ($result != $content && $CFG->debug>7) { //Debug if (!defined('RESTORE_SILENTLY')) { - echo '

'.htmlentities($content).'
changed to
'.htmlentities($result).'

'; //Debug + echo '

'.s($content).'
changed to
'.s($result).'

'; //Debug } } //Debug