]> git.mjollnir.org Git - moodle.git/commitdiff
String should be printed using s() MDL-6779
authormoodler <moodler>
Mon, 2 Oct 2006 16:08:16 +0000 (16:08 +0000)
committermoodler <moodler>
Mon, 2 Oct 2006 16:08:16 +0000 (16:08 +0000)
blocks/admin_tree/block_admin_tree.php

index 67b7e4b52bef3194b440fcf438c1385273e06a35..ba184c71ed06a86eaddabea0a032a607a3398e69 100644 (file)
@@ -187,7 +187,7 @@ class block_admin_tree extends block_base {
 
             $this->content->footer = '<div class="adminsearchform">'.
                                      '<form action="'.$CFG->wwwroot.'/admin/search.php" method="get">'.
-                                     '<input type="text" name="query" size="8" value="'.$searchcontent.'" />'.
+                                     '<input type="text" name="query" size="8" value="'.s($searchcontent).'" />'.
                                      '<input type="submit" value="'.get_string('search').'" />'.
                                      '</form></div>';
         } else {