mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-24 02:58:43 +02:00
#830 (continuation: suppressed the notice "array to string conversion"
SVN:trunk[2998]
This commit is contained in:
@@ -317,8 +317,9 @@ EOF
|
|||||||
if ( ($oCurrObject != null) && ($this->sAttCode != ''))
|
if ( ($oCurrObject != null) && ($this->sAttCode != ''))
|
||||||
{
|
{
|
||||||
$oAttDef = MetaModel::GetAttributeDef(get_class($oCurrObject), $this->sAttCode);
|
$oAttDef = MetaModel::GetAttributeDef(get_class($oCurrObject), $this->sAttCode);
|
||||||
$aParams = array('query_params' => array('this' => $oCurrObject));
|
$aArgs = array('this' => $oCurrObject);
|
||||||
$oSet = $oAttDef->GetAllowedValuesAsObjectSet($aParams);
|
$aParams = array('query_params' => $aArgs);
|
||||||
|
$oSet = $oAttDef->GetAllowedValuesAsObjectSet($aArgs);
|
||||||
$oFilter = $oSet->GetFilter();
|
$oFilter = $oSet->GetFilter();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user