Fixed regression (HKeys)

SVN:trunk[1474]
This commit is contained in:
Romain Quetiez
2011-08-19 08:51:16 +00:00
parent 071a30d928
commit e8586515e3

View File

@@ -795,6 +795,7 @@ exit;
$oListExpr = ListExpression::FromScalars($aIds);
// Check if the condition points to a hierarchical key
$bConditionAdded = false;
if ($sAttCode == 'id')
{
// Filtering on the objects themselves
@@ -812,7 +813,6 @@ exit;
else
{
$oAttDef = MetaModel::GetAttributeDef($sClass, $sAttCode);
$bConditionAdded = false;
if ($oAttDef->IsExternalKey())
{
$sHierarchicalKeyCode = MetaModel::IsHierarchicalClass($oAttDef->GetTargetClass());