-
Bug
-
Resolution: Fixed
-
Minor
-
3.0.8
-
None
-
PHP 5.3.5
Topic from phpbb.com: http://www.phpbb.com/community/viewtopic.php?f=46&t=2116575
In PHP 5.3.4, they changed it so that mt_rand(min, max) throws an error message if the min and max values are not in the right order when calling the function. The 3D Wave CAPTCHA does not check the order, so the image is not successfully generated.
Error while creating image
|
» Error in /includes/captcha/captcha_gd_wave.php on line 65: mt_rand(): max(315) is smaller than min(355)
|
Error while creating image
|
» Error in /includes/captcha/captcha_gd_wave.php on line 66: mt_rand(): max(81) is smaller than min(96)
|
- is related to
-
PHPBB-10042 GD captcha has invalid mt_rand calls
- Closed