Skip to content
Snippets Groups Projects
Commit ef4a5c81 authored by Ghislain Loas's avatar Ghislain Loas
Browse files

dev #12992 fix git lab run

parent 07cd9114
Branches
Tags
5 merge requests!321Dev#12992 custom fields,!302Dev#12992 Custom Fields,!235Dev#12992 Custom Fields,!223Dev#12992 Custom Fields,!216Dev#12992 Custom Fields
......@@ -71,9 +71,10 @@ class Class_CustomField_Meta extends Storm_Model_Abstract {
public function getFieldTypeLabel() {
return [Class_CustomField_Meta::TEXT_INPUT => $this->_('Champ texte'),
Class_CustomField_Meta::TEXT_AREA => $this->_('Champ zone de texte'),
Class_CustomField_Meta::SELECT => $this->_("Liste d'options")][$this->getFieldType()];
$filed_type = [Class_CustomField_Meta::TEXT_INPUT => $this->_('Champ texte'),
Class_CustomField_Meta::TEXT_AREA => $this->_('Champ zone de texte'),
Class_CustomField_Meta::SELECT => $this->_("Liste d'options")];
return $filed_type[$this->getFieldType()];
}
}
?>
\ No newline at end of file
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment