]> git.mjollnir.org Git - moodle.git/commitdiff
Added another s() to the query strings. Thanks Petr!
authormoodler <moodler>
Mon, 2 Oct 2006 17:09:18 +0000 (17:09 +0000)
committermoodler <moodler>
Mon, 2 Oct 2006 17:09:18 +0000 (17:09 +0000)
admin/search.php

index 275e494a9a7a02a9fe070df35f91bcea64f03d68..6c91d82ff43013b1157b0122e487a19469c9d1ce 100644 (file)
@@ -53,7 +53,7 @@ admin_externalpage_print_header($adminroot);
 
 echo '<form action="search.php" method="post" name="mainform" id="adminsettings">';
 echo '<input type="hidden" name="sesskey" value="' . sesskey() . '" />';
-echo '<input type="hidden" name="query" value="' . $query . '" />';
+echo '<input type="hidden" name="query" value="' . s($query) . '" />';
 echo '<fieldset>';
 echo '<div class="clearer"><!-- --></div>';
 if ($resultshtml != '') {