Jelajahi Sumber

#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 11 tahun lalu
induk
melakukan
dafff66d98
1 mengubah file dengan 3 tambahan dan 2 penghapusan
  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