summaryrefslogtreecommitdiffstats
path: root/system/helpers
diff options
context:
space:
mode:
authorAndrey Andreev <narf@bofh.bg>2012-11-26 23:05:06 +0100
committerAndrey Andreev <narf@bofh.bg>2012-11-26 23:05:06 +0100
commit719b60f7e84e7060b679a9359a487f5cbbb937bf (patch)
tree6649a90fb03d2c42bb393ede79cc819f420bf2f4 /system/helpers
parentfeb1e0578194fc1ca114bcafe46cba3f86245bef (diff)
Fix some erroneous variable names (sorry)
Diffstat (limited to 'system/helpers')
-rw-r--r--system/helpers/language_helper.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/system/helpers/language_helper.php b/system/helpers/language_helper.php
index f931208e1..6d24a9ca6 100644
--- a/system/helpers/language_helper.php
+++ b/system/helpers/language_helper.php
@@ -55,9 +55,9 @@ if ( ! function_exists('lang'))
$CI =& get_instance();
$line = $CI->lang->line($line);
- if ($id !== '')
+ if ($for !== '')
{
- $line = '<label for="'.$id.'"'._stringify_attributes($attributes).'>'.$line.'</label>';
+ $line = '<label for="'.$for.'"'._stringify_attributes($attributes).'>'.$line.'</label>';
}
return $line;