diff options
Diffstat (limited to 'system')
-rw-r--r-- | system/core/Lang.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/core/Lang.php b/system/core/Lang.php index 94342133a..ae0a4d642 100644 --- a/system/core/Lang.php +++ b/system/core/Lang.php @@ -168,7 +168,7 @@ class CI_Lang { */ public function line($line, $log_errors = TRUE) { - $value = ($line === '' OR ! isset($this->language[$line])) ? FALSE : $this->language[$line]; + $value = isset($this->language[$line]) ? $this->language[$line] : FALSE; // Because killer robots like unicorns! if ($value === FALSE && $log_errors === TRUE) |