diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2005-09-13 00:30:50 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2005-09-13 00:30:50 +0000 |
commit | 7c64ba9cc67a25f843a5942ca5a0265dce7060ff (patch) | |
tree | 4d2e14ffc956355bb57063679c5acf97ad2b8411 /lib/search.php | |
parent | e444c0c31d1faeef6ac211bc53ce603fcd00e222 (diff) | |
download | ampache-7c64ba9cc67a25f843a5942ca5a0265dce7060ff.tar.gz ampache-7c64ba9cc67a25f843a5942ca5a0265dce7060ff.tar.bz2 ampache-7c64ba9cc67a25f843a5942ca5a0265dce7060ff.zip |
tweaked to fix a search problem s1amson found
Diffstat (limited to 'lib/search.php')
-rw-r--r-- | lib/search.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/search.php b/lib/search.php index 65a87376..43d2f54d 100644 --- a/lib/search.php +++ b/lib/search.php @@ -80,7 +80,7 @@ function run_search($data) { function search_song($data,$method) { /* Generate BASE SQL */ - $base_sql = "SELECT song.id FROM song"; + $base_sql = "SELECT DISTINCT(song.id) FROM song"; $where_sql = ''; $table_sql = ','; |