Permalink
Browse files

fixed searching - SC #61

  • Loading branch information...
1 parent e012c1f commit 85b6606215466ff6b9bddb1260098ea6a6f85a9b skodak committed Jul 5, 2005
Showing with 1 addition and 1 deletion.
  1. +1 −1 mod/wiki/lib.php
View
@@ -986,7 +986,7 @@ function wiki_print_search_form($cmid, $search="", $userid, $groupid, $return=fa
$output .= "<input name=\"id\" type=\"hidden\" value=\"$cmid\" />";
$output = $output.($groupid?"<input name=\"groupid\" type=\"hidden\" value=\"$groupid\" />":"");
$output = $output.($userid?"<input name=\"userid\" type=\"hidden\" value=\"$userid\" />":"");
- $output .= "<input name=\"q\" type=\"text\" size=\"20\" value=\"$search\" />".' ';
+ $output .= "<input name=\"q\" type=\"text\" size=\"20\" value=\"".s($search)."\" />".' ';
$output .= "</font>";
$output .= "<input name=\"page\" type=\"hidden\" value=\"SearchPages\" />";
$output .= "</form>";

0 comments on commit 85b6606

Please sign in to comment.