Some more minor improvements
diff --git a/system/helpers/captcha_helper.php b/system/helpers/captcha_helper.php
index bdc3910..1e6ee3c 100644
--- a/system/helpers/captcha_helper.php
+++ b/system/helpers/captcha_helper.php
@@ -54,13 +54,13 @@
foreach ($defaults as $key => $val)
{
- if ( ! is_array($data) && ( ! isset($$key) OR $$key == ''))
+ if ( ! is_array($data) && empty($$key))
{
$$key = $val;
}
else
{
- $$key = ( ! isset($data[$key])) ? $val : $data[$key];
+ $$key = isset($data[$key]) ? $data[$key] : $val;
}
}