diff options
author | Andrey Andreev <narf@devilix.net> | 2014-02-21 18:05:35 +0100 |
---|---|---|
committer | Andrey Andreev <narf@devilix.net> | 2014-02-21 18:05:35 +0100 |
commit | d104f8b43f70df55915a8b8d91a19952360080ba (patch) | |
tree | 1ca798f42c237187440bf4478eb46662cfb04da6 /system/core | |
parent | e52e42677aa1947fcf4b81b7d58637696d7305c6 (diff) |
More CI_Lang tests
Diffstat (limited to 'system/core')
-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) |