summaryrefslogtreecommitdiffstats
path: root/search.php
diff options
context:
space:
mode:
Diffstat (limited to 'search.php')
-rw-r--r--search.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/search.php b/search.php
index c1457910..23b17ddd 100644
--- a/search.php
+++ b/search.php
@@ -41,9 +41,8 @@ switch ($action) {
* they used the quick search to search on until after they've
* submited it
*/
- $string_name = $_REQUEST['search_object'][0] . '_string';
- $_REQUEST[$string_name] = $_REQUEST['search_string'];
- unset($string_name);
+ $_REQUEST['s_all'] = $_REQUEST['search_string'];
+
if (strlen($_REQUEST['search_string']) < 1) {
$GLOBALS['error']->add_error('keyword',_("Error: No Keyword Entered"));
show_template('show_search');