diff options
author | Adam Grissom <grissoma@gmail.com> | 2011-04-18 13:01:56 -0400 |
---|---|---|
committer | Paul Arthur <flowerysong00@yahoo.com> | 2011-04-18 13:01:56 -0400 |
commit | 36bc6d51071ed7d3c28106a9c982dae5e0679557 (patch) | |
tree | 7d8c13292f7418c7f4e2d31905ad342be4582b02 /admin/duplicates.php | |
parent | a273b0e5660bf37c019553b358a14b101a977b5d (diff) | |
download | ampache-36bc6d51071ed7d3c28106a9c982dae5e0679557.tar.gz ampache-36bc6d51071ed7d3c28106a9c982dae5e0679557.tar.bz2 ampache-36bc6d51071ed7d3c28106a9c982dae5e0679557.zip |
Fix display of duplicate search
Diffstat (limited to 'admin/duplicates.php')
-rw-r--r-- | admin/duplicates.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/admin/duplicates.php b/admin/duplicates.php index a0d6457a..c4185c92 100644 --- a/admin/duplicates.php +++ b/admin/duplicates.php @@ -38,7 +38,8 @@ show_header(); /* Switch on Action */ switch ($_REQUEST['action']) { case 'find_duplicates': - $duplicates = Catalog::get_duplicate_songs($_REQUEST['search_type']); + $search_type = Dba::escape($_REQUEST['search_type']); + $duplicates = Catalog::get_duplicate_songs($search_type); require_once Config::get('prefix') . '/templates/show_duplicate.inc.php'; require_once Config::get('prefix') . '/templates/show_duplicates.inc.php'; break; |