From 23407fb76bb660bbcfdca56b11bc6b66c834be99 Mon Sep 17 00:00:00 2001 From: stronk7 Date: Tue, 11 Apr 2006 15:34:29 +0000 Subject: [PATCH] htmlentities() to s() --- backup/backuplib.php | 2 +- backup/restorelib.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 -- 2.39.5