diff options
Diffstat (limited to 'includes/search.inc')
-rw-r--r-- | includes/search.inc | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/includes/search.inc b/includes/search.inc index e05b527d6..801fa037e 100644 --- a/includes/search.inc +++ b/includes/search.inc @@ -1,14 +1,11 @@ <?php function search_form($keys) { - global $REQUEST_URI; - $output .= "<form action=\"$REQUEST_URI\" method=\"POST\">\n"; $output .= " <input size=\"50\" value=\"". check_form($keys) ."\" name=\"keys\">"; $output .= " <input type=\"submit\" value=\"". t("Search") ."\">\n"; - $output .= "</form>\n"; - return $output; + return form($output); } function search_data($keys, $type) { |