Browse Source

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 năm trước cách đây
mục cha
commit
756fe387bc
1 tập tin đã thay đổi với 5 bổ sung0 xóa
  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;