[ticket/17415] Correctly wrap legacy captchas

PHPBB-17415
This commit is contained in:
Marc Alexander 2024-10-05 17:05:38 +02:00
parent ae9f97b7e2
commit 89bb72c277
No known key found for this signature in database
GPG key ID: 50E0D2423696F995

View file

@ -54,7 +54,7 @@ class factory
return $captcha;
}
return new legacy_wrapper($name);
return new legacy_wrapper($captcha);
}
/**