Projet

Général

Profil

Révision c304a780

Ajouté par Assos Assos il y a environ 6 ans

Weekly update of contrib modules

Voir les différences:

drupal7/sites/all/modules/ctools/plugins/relationships/user_category_edit_form_from_user.inc
27 27
    return ctools_context_create_empty('user_edit_form', NULL);
28 28
  }
29 29

  
30
  if(!empty($conf['category'])) {
30
  if (!empty($conf['category'])) {
31 31
    return ctools_context_create('user_edit_form', $context->data, array('category' => $conf['category']));
32 32
  }
33 33

  
......
46 46

  
47 47
  $categories = _user_categories();
48 48
  $options = array();
49
  foreach($categories as $category) {
49
  foreach ($categories as $category) {
50 50
    $options[$category['name']] = $category['title'];
51 51
  }
52 52
  $form['category'] = array(

Formats disponibles : Unified diff