Skip to content
Snippets Groups Projects
Commit b6f58bec authored by Matthias Meusburger's avatar Matthias Meusburger
Browse files

dev #25302 : Fix Html5 test.

parent 1a531d55
Branches
Tags
4 merge requests!1132Hotline#29412 images des articles dans le resultat de recherche,!1120Master,!1069Dev#25302 add custom fields to sitos,!1055Dev#25302 add custom fields to sitos
......@@ -36,7 +36,6 @@ class Class_TextReplacements {
public function __construct() {
xdebug_break();
if (!$var_replacements = Class_AdminVar::get('TEXT_REPLACEMENTS'))
return $this;
......
......@@ -117,11 +117,11 @@ class ZendAfi_Form_Admin_CustomFields_ModelValues_Field_Strategy_ckeditor extend
class ZendAfi_Form_Admin_CustomFields_ModelValues_Field_Strategy_select extends ZendAfi_Form_Admin_CustomFields_ModelValues_Field_Strategy {
protected function getOptions() {
$options = $this->_field->getOptionsListAsArray();
array_unshift($options, '');
$multioptions=[];
foreach($options as $option) {
$multioptions[$option]=$option;
}
$multioptions['']= _('*Vide*');
return ['multioptions' => $multioptions];
}
}
......
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