diff options
author | mistic100 <mistic@piwigo.org> | 2012-09-28 12:08:37 +0000 |
---|---|---|
committer | mistic100 <mistic@piwigo.org> | 2012-09-28 12:08:37 +0000 |
commit | 394f4d0310f284d1397f95013e129f5acc20c9dd (patch) | |
tree | 6dddbb6d34aee40794aaaefb64c9fd9e6fbaf8b6 /admin/batch_manager.php | |
parent | dda33d47b7083f6db39a1083d4cc7f3c359234b5 (diff) |
2756: Batch Manager is unusable in some cases, due to tags management
git-svn-id: http://piwigo.org/svn/trunk@18332 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin/batch_manager.php')
-rw-r--r-- | admin/batch_manager.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/admin/batch_manager.php b/admin/batch_manager.php index 7feb5a6a2..48470b330 100644 --- a/admin/batch_manager.php +++ b/admin/batch_manager.php @@ -128,7 +128,7 @@ if (isset($_GET['cat'])) ); } - if (substr_compare($_GET['cat'],'tag-',0,4)==0) + if (strpos($_GET['cat'],'tag-')===0) { $_SESSION['bulk_manager_filter']=array(); $_SESSION['bulk_manager_filter']['tags'] = array(intval(substr($_GET['cat'],4))); |