From 5bd07f4bb241e22a95ac95b201a9f27848737fe6 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Fri, 23 May 2003 17:59:25 +0000 Subject: - Fixed search module bug. Patch by Michael. --- includes/common.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'includes') diff --git a/includes/common.inc b/includes/common.inc index 82a45b0f5..eaf6956ea 100644 --- a/includes/common.inc +++ b/includes/common.inc @@ -317,7 +317,7 @@ function search_item($item, $type) { * ("Restrict search to", help text, etc). */ function search_form($action = 0, $query = 0, $options = 0) { - global $keys; + $keys = $_POST["keys"]; if (!$action) { $action = url("search"); @@ -350,8 +350,8 @@ function search_form($action = 0, $query = 0, $options = 0) { * Collect the search results: */ function search_data() { - global $keys; + $keys = $_POST["keys"]; $edit = $_POST["edit"]; if (isset($keys)) { -- cgit v1.2.3