Projet

Général

Profil

Révision dae300e8

Ajouté par Julien Enselme il y a plus de 9 ans

Udpate to 7.32

Voir les différences:

drupal7/includes/database/database.inc
736 736
    // to expand it out into a comma-delimited set of placeholders.
737 737
    foreach (array_filter($args, 'is_array') as $key => $data) {
738 738
      $new_keys = array();
739
      foreach ($data as $i => $value) {
739
      foreach (array_values($data) as $i => $value) {
740 740
        // This assumes that there are no other placeholders that use the same
741 741
        // name.  For example, if the array placeholder is defined as :example
742 742
        // and there is already an :example_2 placeholder, this will generate

Formats disponibles : Unified diff