mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-03 15:27:42 +02:00
[ticket/17414] Fix small issues with compatibility to legacy captchas
PHPBB-17414
This commit is contained in:
@@ -86,7 +86,7 @@ class legacy_wrapper implements plugin_interface
|
|||||||
{
|
{
|
||||||
if (method_exists($this->legacy_captcha, 'init'))
|
if (method_exists($this->legacy_captcha, 'init'))
|
||||||
{
|
{
|
||||||
$this->legacy_captcha->init($type);
|
$this->legacy_captcha->init($type->value);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -40,7 +40,7 @@ class qa
|
|||||||
protected $service_name;
|
protected $service_name;
|
||||||
|
|
||||||
/** @var int Question ID */
|
/** @var int Question ID */
|
||||||
protected $question = -1;
|
private $question = -1;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Constructor
|
* Constructor
|
||||||
|
Reference in New Issue
Block a user