From 9258b7d2a98cbb2e49769a3d30c82b222fb059ec Mon Sep 17 00:00:00 2001 From: Paul 'flowerysong' Arthur Date: Sat, 20 Mar 2010 06:33:47 +0000 Subject: Add missing $operator so keyword searching will play well with others. --- lib/search.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/search.php b/lib/search.php index 2133b0fc..37f597fd 100644 --- a/lib/search.php +++ b/lib/search.php @@ -130,7 +130,7 @@ function search_song($data,$operator,$method,$limit) { if ($additional_soundex) { $where_sql.= " OR `artist2`.`name` SOUNDS LIKE '$value'"; $where_sql.= " OR `album2`.`name` SOUNDS LIKE '$value'"; - $where_sql.= " OR `song`.`title` SOUNDS LIKE '$value'"; + $where_sql.= " OR `song`.`title` SOUNDS LIKE '$value' $operator"; } $table_sql = " LEFT JOIN `album` as `album2` ON `song`.`album`=`album2`.`id`"; -- cgit