소스 검색

Notice in schema.php (Admin tools / data model) when viewing the class UserRequest

git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@4216 a333f486-631f-4898-b8df-5754b55c2be0
romainq 9 년 전
부모
커밋
756fe387bc
1개의 변경된 파일5개의 추가작업 그리고 0개의 파일을 삭제
  1. 5 0
      core/attributedef.class.inc.php

+ 5 - 0
core/attributedef.class.inc.php

@@ -3448,6 +3448,11 @@ class AttributeMetaEnum extends AttributeEnum
 		return array('allowed_values', 'sql', 'default_value', 'mapping');
 	}
 
+	public function IsNullAllowed()
+	{
+		return false; // Well... this actually depends on the mapping
+	}
+
 	public function IsWritable()
 	{
 		return false;