Closed joshavg closed 8 years ago
See AttributeType:
AttributeType
$choices = []; foreach(AttributeDataType::getTypes() as $type) { $choices[$type->getName()] = $type->getName(); }
This should be:
$choices = array_map(function($type) { return $type->getName(); }, AttributeDataType::getTypes()); $choices = array_combine($choices, $choices);
most of the code will be rewritten, this issue is deprecated
See
AttributeType
:This should be: