Explorar o código

#830 (continuation: suppressed the notice "array to string conversion"

git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@2998 a333f486-631f-4898-b8df-5754b55c2be0
romainq %!s(int64=11) %!d(string=hai) anos
pai
achega
dafff66d98
Modificáronse 1 ficheiros con 3 adicións e 2 borrados
  1. 3 2
      application/ui.extkeywidget.class.inc.php

+ 3 - 2
application/ui.extkeywidget.class.inc.php

@@ -317,8 +317,9 @@ EOF
 		if ( ($oCurrObject != null) && ($this->sAttCode != ''))
 		{
 			$oAttDef = MetaModel::GetAttributeDef(get_class($oCurrObject), $this->sAttCode);
-			$aParams = array('query_params' => array('this' => $oCurrObject));
-			$oSet = $oAttDef->GetAllowedValuesAsObjectSet($aParams);
+			$aArgs = array('this' => $oCurrObject);
+			$aParams = array('query_params' => $aArgs);
+			$oSet = $oAttDef->GetAllowedValuesAsObjectSet($aArgs);
 			$oFilter = $oSet->GetFilter();
 		}
 		else