aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/captcha/captcha_gd_wave.php
diff options
context:
space:
mode:
authorAndreas Fischer <bantu@phpbb.com>2011-01-30 01:17:06 +0100
committerAndreas Fischer <bantu@phpbb.com>2011-01-30 01:17:06 +0100
commitbafe3d9484037049a766fc1f9d728979d2d0483a (patch)
tree0057079f482c25d45e896b69b3ddcd322ff182a0 /phpBB/includes/captcha/captcha_gd_wave.php
parent85e0ae7eaebc722426a9184db9c993f7500909f5 (diff)
parentc3a43126504b5eddfa684e900d888dfcbd3dd281 (diff)
downloadforums-bafe3d9484037049a766fc1f9d728979d2d0483a.tar
forums-bafe3d9484037049a766fc1f9d728979d2d0483a.tar.gz
forums-bafe3d9484037049a766fc1f9d728979d2d0483a.tar.bz2
forums-bafe3d9484037049a766fc1f9d728979d2d0483a.tar.xz
forums-bafe3d9484037049a766fc1f9d728979d2d0483a.zip
Merge branch 'develop-olympus' into develop
* develop-olympus: [ticket/9985] 3D Wave CAPTCHA: Pass min/max in the correct order to mt_rand(). [ticket/9989] Skip PM popup in overall_header.html, if there are no new PMs.
Diffstat (limited to 'phpBB/includes/captcha/captcha_gd_wave.php')
-rw-r--r--phpBB/includes/captcha/captcha_gd_wave.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/captcha/captcha_gd_wave.php b/phpBB/includes/captcha/captcha_gd_wave.php
index 99d2417f91..503283d848 100644
--- a/phpBB/includes/captcha/captcha_gd_wave.php
+++ b/phpBB/includes/captcha/captcha_gd_wave.php
@@ -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),
),
);