Projet

Général

Profil

Révision 7e72b748

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

Weekly update of contrib modules

Voir les différences:

drupal7/sites/all/modules/ctools/includes/jump-menu.inc
8 8
 * if javascript is in use. Each item is keyed to the href that the button
9 9
 * should go to. With javascript, the page is immediately redirected. Without
10 10
 * javascript, the form is submitted and a drupal_goto() is given.
11
 *
12 11
 */
13 12

  
14 13
/**
......
127 126
  // This allows duplicate paths to be used in jump menus for multiple options.
128 127
  $redirect_array = explode("::", $form_state['values']['jump']);
129 128

  
130
  if(isset($redirect_array[1]) && !empty($redirect_array[1])){
129
  if (isset($redirect_array[1]) && !empty($redirect_array[1])) {
131 130
    $redirect = $redirect_array[1];
132 131
  }
133 132
  else {

Formats disponibles : Unified diff