aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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)));