From 89bb72c277cf2c10a1f58182fdd0da962752c874 Mon Sep 17 00:00:00 2001 From: Marc Alexander Date: Sat, 5 Oct 2024 17:05:38 +0200 Subject: [PATCH] [ticket/17415] Correctly wrap legacy captchas PHPBB-17415 --- phpBB/phpbb/captcha/factory.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpBB/phpbb/captcha/factory.php b/phpBB/phpbb/captcha/factory.php index 971a7b2118..d9259d8da9 100644 --- a/phpBB/phpbb/captcha/factory.php +++ b/phpBB/phpbb/captcha/factory.php @@ -54,7 +54,7 @@ class factory return $captcha; } - return new legacy_wrapper($name); + return new legacy_wrapper($captcha); } /**