FIX regex for include or exclude categories in full arbo
This commit is contained in:
parent
751247d3f3
commit
8af5d87e80
@ -1080,7 +1080,7 @@ class Categorie extends CommonObject
|
||||
// Include or exclude leaf including $markafterid from tree
|
||||
if (count($markafterid) > 0)
|
||||
{
|
||||
$keyfiltercatid = implode('|', $markafterid);
|
||||
$keyfiltercatid = '(' . implode('|', $markafterid) . ')';
|
||||
|
||||
//print "Look to discard category ".$markafterid."\n";
|
||||
$keyfilter1 = '^' . $keyfiltercatid . '$';
|
||||
|
||||
Loading…
Reference in New Issue
Block a user