From 2e71aee7208956e2679aff496ec20ddee682311e Mon Sep 17 00:00:00 2001 From: Romain Quetiez Date: Wed, 15 Jun 2016 13:15:43 +0000 Subject: [PATCH] Notice in schema.php (Admin tools / data model) when viewing the class UserRequest SVN:trunk[4216] --- core/attributedef.class.inc.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/core/attributedef.class.inc.php b/core/attributedef.class.inc.php index 2e5485a66..a41132462 100644 --- a/core/attributedef.class.inc.php +++ b/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;