mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-08 04:18:52 +00:00
[ticket/16870] Use string representation of float value for treshold
PHPBB3-16870
This commit is contained in:
parent
bbcac37e30
commit
11563ce971
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@ class google_recaptcha_v3 extends \phpbb\db\migration\migration
|
||||||
|
|
||||||
foreach (\phpbb\captcha\plugins\recaptcha_v3::get_actions() as $action)
|
foreach (\phpbb\captcha\plugins\recaptcha_v3::get_actions() as $action)
|
||||||
{
|
{
|
||||||
$data[] = ['config.add', ["recaptcha_v3_threshold_{$action}", 0.5]];
|
$data[] = ['config.add', ["recaptcha_v3_threshold_{$action}", '0.5']];
|
||||||
}
|
}
|
||||||
|
|
||||||
return $data;
|
return $data;
|
||||||
|
|
Loading…
Add table
Reference in a new issue