diff options
author | George Petculescu <gxgpet@gmail.com> | 2016-09-27 19:28:24 +0200 |
---|---|---|
committer | George Petculescu <gxgpet@gmail.com> | 2016-09-27 19:28:24 +0200 |
commit | f394b9e0a764d47532363cae8f3e491718fcf8fa (patch) | |
tree | 608758c4edb10f3d99d46dc92a40bec33262ca6c /system/helpers/captcha_helper.php | |
parent | 89eb04b5f09f4d7fb2d319e417bc188f0ed915d0 (diff) |
- fixed identation
Diffstat (limited to 'system/helpers/captcha_helper.php')
-rw-r--r-- | system/helpers/captcha_helper.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/helpers/captcha_helper.php b/system/helpers/captcha_helper.php index f6c42b4f7..f2ff4dccf 100644 --- a/system/helpers/captcha_helper.php +++ b/system/helpers/captcha_helper.php @@ -111,7 +111,7 @@ if ( ! function_exists('create_captcha')) while ($filename = @readdir($current_dir)) { if (in_array(substr($filename, -4), array('.jpg', '.png')) - && (str_replace(array('.jpg', '.png'), '', $filename) + $expiration) < $now) + && (str_replace(array('.jpg', '.png'), '', $filename) + $expiration) < $now) { @unlink($img_path.$filename); } |