From d7df3f0a0cd6a7169ff84411e390527c50b67184 Mon Sep 17 00:00:00 2001 From: mistic100 Date: Fri, 28 Sep 2012 12:09:34 +0000 Subject: 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 --- admin/batch_manager.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'admin/batch_manager.php') 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))); -- cgit v1.2.3