Projet

Général

Profil

Révision f842d52a

Ajouté par Julien Enselme il y a presque 10 ans

Update to 7.28

Voir les différences:

drupal7/includes/form.inc
2722 2722
  $options = '';
2723 2723
  foreach ($choices as $key => $choice) {
2724 2724
    if (is_array($choice)) {
2725
      $options .= '<optgroup label="' . $key . '">';
2725
      $options .= '<optgroup label="' . check_plain($key) . '">';
2726 2726
      $options .= form_select_options($element, $choice);
2727 2727
      $options .= '</optgroup>';
2728 2728
    }

Formats disponibles : Unified diff