diff options
Diffstat (limited to 'lib')
-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 = ','; |