aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--admin/batch_manager.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/admin/batch_manager.php b/admin/batch_manager.php
index a89ef615b..c34ee7406 100644
--- a/admin/batch_manager.php
+++ b/admin/batch_manager.php
@@ -295,7 +295,7 @@ SELECT
$query = '
SELECT file
FROM '.IMAGES_TABLE.'
- GROUP BY file
+ GROUP BY file, date_creation
HAVING COUNT(*) > 1
;';
$duplicate_files = query2array($query, null, 'file');