summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaweł Kłopotek-Główczewski <pawelkg@pawelkg.com>2018-12-17 21:05:22 +0100
committerPaweł Kłopotek-Główczewski <pawelkg@pawelkg.com>2018-12-17 21:05:22 +0100
commit5e9ca8cc1fd966728eb8b23620f5c8d6058bb8dc (patch)
tree346598daa2ab573f50177feb4dd14fc2d791625d
parentd23d0ae1cb00fcf31609f6605485d9c5208e8cba (diff)
parent292ad891948676ecc97ab7636e99dbb5aab1b0e4 (diff)
Merge remote-tracking branch 'codeigniter/develop' into develop
-rw-r--r--system/helpers/captcha_helper.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/helpers/captcha_helper.php b/system/helpers/captcha_helper.php
index b58a19091..f53c90517 100644
--- a/system/helpers/captcha_helper.php
+++ b/system/helpers/captcha_helper.php
@@ -352,7 +352,7 @@ if ( ! function_exists('create_captcha'))
$img_src = 'data:image/png;base64,'.base64_encode($img_src);
}
- $img = '<img '.($img_id === '' ? '' : 'id="'.$img_id.'"').' src="'.$img_src.'" style="width: '.$img_width.'; height: '.$img_height .'; border: 0;" alt="'.$img_alt.'" />';
+ $img = '<img '.($img_id === '' ? '' : 'id="'.$img_id.'"').' src="'.$img_src.'" style="width: '.$img_width.'px; height: '.$img_height .'px; border: 0;" alt="'.$img_alt.'" />';
ImageDestroy($im);
return array('word' => $word, 'time' => $now, 'image' => $img, 'filename' => $img_filename);