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); } /**