summaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
authorPreetham <me@preetham.in>2014-12-05 18:19:09 +0100
committerPreetham <me@preetham.in>2014-12-05 18:19:09 +0100
commit6157e52f1988c3640082fe6fd323ebbc07887259 (patch)
treecaf0ec55aaeea1759454912d1ecaab0ffe6aa0bd /system
parentbe7e493fd7a4dcc8f00b60201d4948f3618d9b6a (diff)
removing extra spaces
Signed-off-by: Preetham <me@preetham.in>
Diffstat (limited to 'system')
-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 373b1af9d..5fa61e051 100644
--- a/system/helpers/captcha_helper.php
+++ b/system/helpers/captcha_helper.php
@@ -245,7 +245,7 @@ if ( ! function_exists('create_captcha'))
return FALSE;
}
- $img = '<img '.($img_id === ''? NULL: 'id="'.$img_id.'"').' src="'.$img_url.$img_filename.'" style="width: '.$img_width.'; height: '.$img_height .'; border: 0;" alt=" " />';
+ $img = '<img '.($img_id === '' ? '' : 'id="'.$img_id.'"').' src="'.$img_url.$img_filename.'" style="width: '.$img_width.'; height: '.$img_height .'; border: 0;" alt=" " />';
ImageDestroy($im);
return array('word' => $word, 'time' => $now, 'image' => $img, 'filename' => $img_filename);