diff --git a/core/model/fieldtypes/Enum.php b/core/model/fieldtypes/Enum.php index eed5b4017..6bb2681f8 100755 --- a/core/model/fieldtypes/Enum.php +++ b/core/model/fieldtypes/Enum.php @@ -30,7 +30,7 @@ class Enum extends DBField { if(in_array($default, $enum)) { $this->default = $default; } else { - user_error("Enum::__construct() The default value does not match any item in the enumeration", E_USER_ERROR); + user_error("Enum::__construct() The default value '$default' does not match any item in the enumeration", E_USER_ERROR); } // By default, set the default value to the first item