diff options
Diffstat (limited to 'system/helpers')
-rw-r--r-- | system/helpers/language_helper.php | 4 |
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; |