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
This commit is contained in:
mistic100 2012-09-28 12:09:34 +00:00
parent 06873239d7
commit d7df3f0a0c

View file

@ -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)));