Commit 548a8bab authored by Ahmad  Halah's avatar Ahmad Halah Committed by Fabiano Sant'Ana
Browse files

Issue #3091082 by ahmadhalah, thetaPC, EricVL, joachim, pguillard, wundo,...

Issue #3091082 by ahmadhalah, thetaPC, EricVL, joachim, pguillard, wundo, ojchris37: Undefined variable type in Captcha Examples
parent c5894474
Loading
Loading
Loading
Loading
+1 −1
Changes for src/Form/CaptchaExamplesForm.php: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -105,7 +105,7 @@ class CaptchaExamplesForm extends FormBase {
  protected function buildChallenge($module, $challenge) {
    return [
      '#type' => 'captcha',
      '#captcha_type' => $module . '/' . $type,
      '#captcha_type' => $module . '/' . $challenge,
      '#captcha_admin_mode' => TRUE,
    ];
  }