diff options
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; |