]> git.mjollnir.org Git - moodle.git/commitdiff
htmlentities() to s()
authorstronk7 <stronk7>
Tue, 11 Apr 2006 15:34:29 +0000 (15:34 +0000)
committerstronk7 <stronk7>
Tue, 11 Apr 2006 15:34:29 +0000 (15:34 +0000)
backup/backuplib.php
backup/restorelib.php

index b5bee7414912991a5c3da2719e4001e1037789fb..371d16bf58e7b9e571167fe3e9cd89f81696a2f6 100644 (file)
         }
 
         if ($result != $content && $CFG->debug>7) {                                  //Debug
-            echo '<br /><hr />'.htmlentities($content).'<br />changed to<br />'.htmlentities($result).'<hr /><br />';        //Debug
+            echo '<br /><hr />'.s($content).'<br />changed to<br />'.s($result).'<hr /><br />';        //Debug
         }                                                                            //Debug
 
         return $result;
index 5d29e22981ca618d216201c9062031fc27da0b20..ecc924e5f42d5c169067f375881165b114840eed 100644 (file)
 
         if ($result != $content && $CFG->debug>7) {                                  //Debug
             if (!defined('RESTORE_SILENTLY')) {
-                echo '<br /><hr />'.htmlentities($content).'<br />changed to<br />'.htmlentities($result).'<hr /><br />';        //Debug
+                echo '<br /><hr />'.s($content).'<br />changed to<br />'.s($result).'<hr /><br />';        //Debug
             }
         }                                                                            //Debug