1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-22 17:41:24 +02:00

[ticket/16870] Use string representation of float value for treshold

PHPBB3-16870
This commit is contained in:
Marc Alexander
2021-09-08 20:42:41 +02:00
parent bbcac37e30
commit 11563ce971

View File

@@ -38,7 +38,7 @@ class google_recaptcha_v3 extends \phpbb\db\migration\migration
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;