summaryrefslogtreecommitdiffstats
path: root/search.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2006-06-22 16:27:35 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2006-06-22 16:27:35 +0000
commit328da9378b3350602445b48fbe4976b8f55476bb (patch)
treeff0666f15c291c57d24738a81046bcc5e568f9b0 /search.php
parent8371bcafe75ec3427530c378f2ff2600c91dc56a (diff)
downloadampache-328da9378b3350602445b48fbe4976b8f55476bb.tar.gz
ampache-328da9378b3350602445b48fbe4976b8f55476bb.tar.bz2
ampache-328da9378b3350602445b48fbe4976b8f55476bb.zip
fixed keyword searches
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');