mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-23 18:48:51 +02:00
Bug fix: don't assume that the hierachical key is called 'parent_id'
SVN:trunk[1456]
This commit is contained in:
@@ -392,7 +392,8 @@ EOF
|
||||
$oSet = new DBObjectSet($oFilter);
|
||||
}
|
||||
|
||||
$this->DumpTree($oPage, $oSet, 'parent_id', $currValue);
|
||||
$sHKAttCode = MetaModel::IsHierarchicalClass($this->sTargetClass);
|
||||
$this->DumpTree($oPage, $oSet, $sHKAttCode, $currValue);
|
||||
|
||||
$oPage->add('</td></tr></table>');
|
||||
$oPage->add('</div>');
|
||||
|
||||
Reference in New Issue
Block a user