Merge pull request #12946 from OPEN-DSI/v10-fix-categorie-full-arbo-match
FIX regex for include or exclude categories in full arbo
This commit is contained in:
commit
ed8b6f346d
@ -1080,7 +1080,7 @@ class Categorie extends CommonObject
|
|||||||
// Include or exclude leaf including $markafterid from tree
|
// Include or exclude leaf including $markafterid from tree
|
||||||
if (count($markafterid) > 0)
|
if (count($markafterid) > 0)
|
||||||
{
|
{
|
||||||
$keyfiltercatid = implode('|', $markafterid);
|
$keyfiltercatid = '(' . implode('|', $markafterid) . ')';
|
||||||
|
|
||||||
//print "Look to discard category ".$markafterid."\n";
|
//print "Look to discard category ".$markafterid."\n";
|
||||||
$keyfilter1 = '^' . $keyfiltercatid . '$';
|
$keyfilter1 = '^' . $keyfiltercatid . '$';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user