summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrey Andreev <narf@bofh.bg>2012-03-26 20:53:37 +0200
committerAndrey Andreev <narf@bofh.bg>2012-03-26 20:53:37 +0200
commit33101f42a8111a6e070cae495ec13e1e79207997 (patch)
treef67e275863980e53d5a9a34de7a1a98afda65dd5
parent925d37391789405f53da73979305dead6a053099 (diff)
Merge upstream branch
-rw-r--r--system/helpers/captcha_helper.php9
1 files changed, 4 insertions, 5 deletions
diff --git a/system/helpers/captcha_helper.php b/system/helpers/captcha_helper.php
index 96e8c51a3..bdc3910db 100644
--- a/system/helpers/captcha_helper.php
+++ b/system/helpers/captcha_helper.php
@@ -101,7 +101,6 @@ if ( ! function_exists('create_captcha'))
{
$word .= $pool[mt_rand(0, $mt_rand_max)];
}
-
}
// -----------------------------------
@@ -121,10 +120,10 @@ if ( ! function_exists('create_captcha'))
// -----------------------------------
// Assign colors
// -----------------------------------
- $bg_color = imagecolorallocate ($im, 255, 255, 255);
- $border_color = imagecolorallocate ($im, 153, 102, 102);
- $text_color = imagecolorallocate ($im, 204, 153, 153);
- $grid_color = imagecolorallocate($im, 255, 182, 182);
+ $bg_color = imagecolorallocate($im, 255, 255, 255);
+ $border_color = imagecolorallocate($im, 153, 102, 102);
+ $text_color = imagecolorallocate($im, 204, 153, 153);
+ $grid_color = imagecolorallocate($im, 255, 182, 182);
$shadow_color = imagecolorallocate($im, 255, 240, 240);
// Create the rectangle