Projet

Général

Profil

Révision 620f9137

Ajouté par Assos Assos il y a environ 4 ans

Weekly update of contrib modules

Voir les différences:

drupal7/sites/all/modules/captcha/captcha.module
403 403

  
404 404
    // Get CAPTCHA type and module for given form_id.
405 405
    $captcha_point = captcha_get_form_id_setting($form_id);
406

  
407
    // If no captcha point found, check to see if there is a setting for the base form id
408
    if (!$captcha_point) {
409
      if (isset($form_state['build_info']['base_form_id'])) {
410
        $captcha_point = captcha_get_form_id_setting($form_state['build_info']['base_form_id']);
411
      }
412
    }
413

  
406 414
    if ($captcha_point && !empty($captcha_point->captcha_type)) {
407 415
      module_load_include('inc', 'captcha');
408 416
      // Build CAPTCHA form element.

Formats disponibles : Unified diff