浏览代码

- Allowed values is now implemented, so I removed the comment !

git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@171 a333f486-631f-4898-b8df-5754b55c2be0
dflaven 15 年之前
父节点
当前提交
3baccd43e5
共有 1 个文件被更改,包括 1 次插入2 次删除
  1. 1 2
      application/cmdbabstract.class.inc.php

+ 1 - 2
application/cmdbabstract.class.inc.php

@@ -523,8 +523,7 @@ abstract class cmdbAbstractObject extends CMDBObject
 					}
 				}
 			}
-			// #@# todo - add context information, otherwise any value will be authorized for external keys
-			$aAllowedValues = MetaModel::GetAllowedValues_flt($sClassName, $sFilterCode, array());
+			$aAllowedValues = MetaModel::GetAllowedValues_flt($sClassName, $sFilterCode, $aExtraParams);
 			if ($aAllowedValues != null)
 			{
 				//Enum field or external key, display a combo