diff options
author | Henry Sudhof <kellanved@phpbb.com> | 2009-02-09 11:44:02 +0000 |
---|---|---|
committer | Henry Sudhof <kellanved@phpbb.com> | 2009-02-09 11:44:02 +0000 |
commit | 2966317c3fb1e055c93f5e378b2615e1af41f4cc (patch) | |
tree | e870b22d2236bca40993a772554104820ca76cde | |
parent | 520e4a02194c1b91b13dcb70f98b5f99fe641da7 (diff) | |
download | forums-2966317c3fb1e055c93f5e378b2615e1af41f4cc.tar forums-2966317c3fb1e055c93f5e378b2615e1af41f4cc.tar.gz forums-2966317c3fb1e055c93f5e378b2615e1af41f4cc.tar.bz2 forums-2966317c3fb1e055c93f5e378b2615e1af41f4cc.tar.xz forums-2966317c3fb1e055c93f5e378b2615e1af41f4cc.zip |
erm
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9324 89ea8834-ac86-4346-8a33-228a782c2dd0
-rw-r--r-- | phpBB/includes/captcha/captcha_gd.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/captcha/captcha_gd.php b/phpBB/includes/captcha/captcha_gd.php index 4a8dd893a7..96bce8e654 100644 --- a/phpBB/includes/captcha/captcha_gd.php +++ b/phpBB/includes/captcha/captcha_gd.php @@ -58,7 +58,6 @@ class captcha $code_len = strlen($code); $captcha_bitmaps = $this->captcha_bitmaps(); - $noise_bitmaps = $this->captcha_noise_bitmaps(); for ($i = 0; $i < $code_len; ++$i) { $characters[$i] = new char_cube3d($captcha_bitmaps, $code[$i]); @@ -114,6 +113,7 @@ class captcha } if ($config['captcha_gd_3d_noise']) { + $noise_bitmaps = $this->captcha_noise_bitmaps(); for ($i = 0; $i < $code_len; ++$i) { $noise[$i] = new char_cube3d($noise_bitmaps, mt_rand(1, count($noise_bitmaps['data']))); |