From a7b68544b70efc9638d4551849c37aad654683ab Mon Sep 17 00:00:00 2001 From: Roman Kelesidis Date: Sat, 8 Mar 2025 20:06:59 +0300 Subject: [PATCH] Update TextCaptcha.php --- src/Captcha/TextCaptcha.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/Captcha/TextCaptcha.php b/src/Captcha/TextCaptcha.php index 68011cfc6..eeb9b1862 100644 --- a/src/Captcha/TextCaptcha.php +++ b/src/Captcha/TextCaptcha.php @@ -49,13 +49,11 @@ class TextCaptcha implements CaptchaInterface */ public function get(): string { - global $lang; - $_SESSION['phrase'] = $this->captcha->getPhrase(); $this->captcha->build(); return " - {$lang[
+
"; }