diff options
author | Dries Buytaert <dries@buytaert.net> | 2003-05-23 17:59:25 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2003-05-23 17:59:25 +0000 |
commit | 5bd07f4bb241e22a95ac95b201a9f27848737fe6 (patch) | |
tree | 7f9d498fcd934d75df92eedd763b97828ee629a6 /includes | |
parent | 210203a72dafc8a1bd65a39ac51be26bca4c422e (diff) | |
download | brdo-5bd07f4bb241e22a95ac95b201a9f27848737fe6.tar.gz brdo-5bd07f4bb241e22a95ac95b201a9f27848737fe6.tar.bz2 |
- Fixed search module bug. Patch by Michael.
Diffstat (limited to 'includes')
-rw-r--r-- | includes/common.inc | 4 |
1 files changed, 2 insertions, 2 deletions
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)) { |