summaryrefslogtreecommitdiffstats
path: root/system/core/Lang.php
diff options
context:
space:
mode:
authorpatwork <patwork@gmail.com>2011-04-11 11:56:41 +0200
committerpatwork <patwork@gmail.com>2011-04-11 11:56:41 +0200
commit571023b24f705d9c0bbaecf2e3cbbc06752390b4 (patch)
tree86cb85577d31e393b8ddffdce90abba334be15bb /system/core/Lang.php
parentef1a55ad2875af3b2286a5b6eb9b65e997949f4d (diff)
Fix: codeigniter-reactor/32 unicorns are no longer mute
Diffstat (limited to 'system/core/Lang.php')
-rw-r--r--system/core/Lang.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/system/core/Lang.php b/system/core/Lang.php
index 0b926a303..cdadc7f41 100644
--- a/system/core/Lang.php
+++ b/system/core/Lang.php
@@ -129,19 +129,19 @@ class CI_Lang {
*/
function line($line = '')
{
- $line = ($line == '' OR ! isset($this->language[$line])) ? FALSE : $this->language[$line];
+ $value = ($line == '' OR ! isset($this->language[$line])) ? FALSE : $this->language[$line];
// Because killer robots like unicorns!
- if ($line === FALSE)
+ if ($value === FALSE)
{
log_message('error', 'Could not find the language line "'.$line.'"');
}
- return $line;
+ return $value;
}
}
// END Language Class
/* End of file Lang.php */
-/* Location: ./system/core/Lang.php */ \ No newline at end of file
+/* Location: ./system/core/Lang.php */