Projet

Général

Profil

Révision 08475715

Ajouté par Assos Assos il y a plus de 7 ans

Weekly update of contrib modules

Voir les différences:

drupal7/sites/all/modules/ctools/ctools.module
9 9
 * must be implemented in the module file.
10 10
 */
11 11

  
12
define('CTOOLS_API_VERSION', '2.0.8');
12
define('CTOOLS_API_VERSION', '2.0.9');
13 13

  
14 14
/**
15 15
 * The current working ctools version.
......
23 23
 *   ; Requires CTools v7.x-1.4 or newer.
24 24
 *   dependencies[] = ctools (>=1.4)
25 25
 */
26
define('CTOOLS_MODULE_VERSION', '7.x-1.10');
26
define('CTOOLS_MODULE_VERSION', '7.x-1.11');
27 27

  
28 28
/**
29 29
 * Test the CTools API version.
......
760 760

  
761 761
  // Update the classes within the attributes array to match the classes array
762 762
  if (isset($variables['attributes_array']['class'])) {
763
    $variables['attributes_array']['class'] = $variables['classes_array'];
763
    $variables['attributes_array']['class'] = array_unique(array_merge($variables['classes_array'], $variables['attributes_array']['class']));
764 764
    $variables['attributes'] = $variables['attributes_array'] ? drupal_attributes($variables['attributes_array']) : '';
765 765
  }
766 766

  

Formats disponibles : Unified diff