diff options
author | Preetham <me@preetham.in> | 2014-11-12 16:26:24 +0100 |
---|---|---|
committer | Preetham <me@preetham.in> | 2014-11-12 16:26:24 +0100 |
commit | bfa16449fe533ece12064074204beffcc5b39163 (patch) | |
tree | b49fe87aaa256848f622fe6f3c09d19b91d34070 /system/helpers/captcha_helper.php | |
parent | 820f2e77b9b931ed9fd4f0b4bc827dd480417125 (diff) |
removed additional tabs and semicolon
Signed-off-by: Preetham <me@preetham.in>
Diffstat (limited to 'system/helpers/captcha_helper.php')
-rw-r--r-- | system/helpers/captcha_helper.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/system/helpers/captcha_helper.php b/system/helpers/captcha_helper.php index 4398d3191..2ffa86d97 100644 --- a/system/helpers/captcha_helper.php +++ b/system/helpers/captcha_helper.php @@ -71,7 +71,7 @@ if ( ! function_exists('create_captcha')) 'font_path' => '', 'expiration' => 7200, 'word_length' => 8, - 'font_size' =>16, + 'font_size' => 16, 'pool' => '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ', 'colors' => array( 'background' => array(255,255,255), @@ -194,7 +194,7 @@ if ( ! function_exists('create_captcha')) $use_font = ($font_path !== '' && file_exists($font_path) && function_exists('imagettftext')); if ($use_font === FALSE) { - ($font_size >= 5) && $font_size = 5;; + ($font_size > 5) && $font_size = 5; $x = mt_rand(0, $img_width / ($length / 3)); $y = 0; } |