diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2006-06-22 16:27:35 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2006-06-22 16:27:35 +0000 |
commit | 328da9378b3350602445b48fbe4976b8f55476bb (patch) | |
tree | ff0666f15c291c57d24738a81046bcc5e568f9b0 /search.php | |
parent | 8371bcafe75ec3427530c378f2ff2600c91dc56a (diff) | |
download | ampache-328da9378b3350602445b48fbe4976b8f55476bb.tar.gz ampache-328da9378b3350602445b48fbe4976b8f55476bb.tar.bz2 ampache-328da9378b3350602445b48fbe4976b8f55476bb.zip |
fixed keyword searches
Diffstat (limited to 'search.php')
-rw-r--r-- | search.php | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -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'); |