mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-19 00:28:47 +02:00
#702 The second implementation of this fix was still incomplete (not compatible with some constraint queries)
SVN:2.0[2695]
This commit is contained in:
@@ -128,6 +128,14 @@ class DBObjectSearch
|
||||
{
|
||||
$sAlias = $this->GetClassAlias();
|
||||
}
|
||||
else
|
||||
{
|
||||
if (!array_key_exists($sAlias, $this->m_aClasses))
|
||||
{
|
||||
// discard silently - necessary when recursing on the related nodes (see code below)
|
||||
return;
|
||||
}
|
||||
}
|
||||
$sCurrClass = $this->GetClassName($sAlias);
|
||||
if (!MetaModel::IsParentClass($sCurrClass, $sNewClass))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user