diff options
author | Andrey Andreev <narf@bofh.bg> | 2012-01-20 12:10:22 +0100 |
---|---|---|
committer | Andrey Andreev <narf@bofh.bg> | 2012-01-20 12:10:22 +0100 |
commit | 5ad9e4ebba4ab8a8eb36952430d5a18978697360 (patch) | |
tree | 23616edd14bcd3cae3754c6c2188843c743bb453 | |
parent | 63a21005ec657aa004b5ffc2b0965c1a201e4637 (diff) |
Replace AND with &&
-rw-r--r-- | system/helpers/captcha_helper.php | 4 | ||||
-rw-r--r-- | system/helpers/cookie_helper.php | 2 |
2 files changed, 1 insertions, 5 deletions
diff --git a/system/helpers/captcha_helper.php b/system/helpers/captcha_helper.php index 0565457e2..3b62da929 100644 --- a/system/helpers/captcha_helper.php +++ b/system/helpers/captcha_helper.php @@ -25,8 +25,6 @@ * @filesource */ -// ------------------------------------------------------------------------ - /** * CodeIgniter CAPTCHA Helper * @@ -160,7 +158,7 @@ if ( ! function_exists('create_captcha')) // ----------------------------------- // Write the text // ----------------------------------- - $use_font = ($font_path != '' AND file_exists($font_path) AND function_exists('imagettftext')) ? TRUE : FALSE; + $use_font = ($font_path != '' && file_exists($font_path) && function_exists('imagettftext')); if ($use_font == FALSE) { diff --git a/system/helpers/cookie_helper.php b/system/helpers/cookie_helper.php index 52f489b39..f32a1a5ae 100644 --- a/system/helpers/cookie_helper.php +++ b/system/helpers/cookie_helper.php @@ -25,8 +25,6 @@ * @filesource */ -// ------------------------------------------------------------------------ - /** * CodeIgniter Cookie Helpers * |