mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
N°6960 - Fix \MFDocument::GetNodes() adding a predicate on last expression only instead of the whole XPath
This commit is contained in:
@@ -2486,7 +2486,7 @@ class MFDocument extends \Combodo\iTop\DesignDocument
|
||||
|
||||
if ($bSafe)
|
||||
{
|
||||
$sXPath .= "[not(@_alteration) or @_alteration!='removed']";
|
||||
$sXPath = "($sXPath)[not(@_alteration) or @_alteration!='removed']";
|
||||
}
|
||||
|
||||
if (is_null($oContextNode))
|
||||
|
||||
Reference in New Issue
Block a user