From: stronk7 Date: Tue, 11 Apr 2006 15:34:29 +0000 (+0000) Subject: htmlentities() to s() X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=23407fb76bb660bbcfdca56b11bc6b66c834be99;p=moodle.git htmlentities() to s() --- diff --git a/backup/backuplib.php b/backup/backuplib.php index b5bee74149..371d16bf58 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 5d29e22981..ecc924e5f4 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