summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2013-07-26 01:14:09 +0200
committerAndrey Andreev <narf@devilix.net>2013-07-26 01:14:09 +0200
commit53fd68860df9ce813a9c07e4dfd34fbb96dffbb1 (patch)
tree1399bc8afc107ee34e093d609c35274e8f8bf597
parent45a4544ba38d654d87e3a9664b483bd5758d42d1 (diff)
Fix #2558
-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 2d2ae7751..29911dc17 100644
--- a/system/helpers/captcha_helper.php
+++ b/system/helpers/captcha_helper.php
@@ -142,7 +142,7 @@ if ( ! function_exists('create_captcha'))
is_array($colors) OR $colors = $defaults['colors'];
- foreach (array_keys($default['colors']) as $key)
+ foreach (array_keys($defaults['colors']) as $key)
{
// Check for a possible missing value
is_array($colors[$key]) OR $colors[$key] = $defaults['colors'][$key];