1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-25 02:51:35 +02:00

[ticket/9985] 3D Wave CAPTCHA: Pass min/max in the correct order to mt_rand().

PHPBB3-9985
This commit is contained in:
Joas Schilling
2011-01-29 16:24:32 +01:00
committed by Andreas Fischer
parent afc856417f
commit b32bf5aa35

View File

@@ -62,8 +62,8 @@ class captcha
'y' => mt_rand(10, 17)
),
'lower_left' => array(
'x' => mt_rand($img_x - 5, $img_x - 45),
'y' => mt_rand($img_y - 0, $img_y - 15)
'x' => mt_rand($img_x - 45, $img_x - 5),
'y' => mt_rand($img_y - 15, $img_y - 0),
),
);