aboutsummaryrefslogtreecommitdiffstats
path: root/admin
diff options
context:
space:
mode:
Diffstat (limited to 'admin')
-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 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)));