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:
Laurent Destailleur 2020-01-28 20:39:22 +01:00 committed by GitHub
commit ed8b6f346d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 . '$';