From 11563ce971a613e6747b604146415465999c56b8 Mon Sep 17 00:00:00 2001 From: Marc Alexander Date: Wed, 8 Sep 2021 20:42:41 +0200 Subject: [PATCH] [ticket/16870] Use string representation of float value for treshold PHPBB3-16870 --- phpBB/phpbb/db/migration/data/v33x/google_recaptcha_v3.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpBB/phpbb/db/migration/data/v33x/google_recaptcha_v3.php b/phpBB/phpbb/db/migration/data/v33x/google_recaptcha_v3.php index e1362ed813..854ba0c3a3 100644 --- a/phpBB/phpbb/db/migration/data/v33x/google_recaptcha_v3.php +++ b/phpBB/phpbb/db/migration/data/v33x/google_recaptcha_v3.php @@ -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;