aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormistic100 <mistic@piwigo.org>2012-09-28 12:09:34 +0000
committermistic100 <mistic@piwigo.org>2012-09-28 12:09:34 +0000
commitd7df3f0a0cd6a7169ff84411e390527c50b67184 (patch)
tree62b64f6fae19d21ede996514af1634b03d31e11b
parent06873239d7e6ef591ab2b08d8462f8cc6ca4f9af (diff)
Merged revision(s) r18332 from trunk:
2756: Batch Manager is unusable in some cases, due to tags management git-svn-id: http://piwigo.org/svn/branches/2.4@18333 68402e56-0260-453c-a942-63ccdbb3a9ee
-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 71f3c72f6..136f4d10e 100644
--- a/admin/batch_manager.php
+++ b/admin/batch_manager.php
@@ -115,7 +115,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)));