Projet

Général

Profil

Révision 389fb945

Ajouté par Assos Assos il y a presque 5 ans

Weekly update of contrib modules

Voir les différences:

drupal7/sites/all/modules/webform/components/email.inc
61 61
    '#size' => 60,
62 62
    '#maxlength' => 127,
63 63
    '#weight' => 0,
64
    '#attributes' => ($component['value'] == '[current-user:mail]' && count(form_get_errors()) == 0) ? array('disabled' => TRUE) : array(),
64
    '#attributes' => ($component['value'] == '[current-user:mail]' && !form_get_errors()) ? array('disabled' => TRUE) : array(),
65 65
    '#id' => 'email-value',
66 66
  );
67 67
  $form['user_email'] = array(

Formats disponibles : Unified diff