Changeset 25223


Ignore:
Timestamp:
Oct 29, 2013, 11:37:45 PM (11 years ago)
Author:
plg
Message:

bug 2992 fixed: escape all file names before searching them as duplicates in batch manager.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.5/admin/batch_manager.php

    r24880 r25223  
    269269SELECT id
    270270  FROM '.IMAGES_TABLE.'
    271   WHERE file IN (\''.implode("','", $duplicate_files).'\')
     271  WHERE file IN (\''.implode("','", array_map('pwg_db_real_escape_string', $duplicate_files)).'\')
    272272;';
    273273
Note: See TracChangeset for help on using the changeset viewer.