commit | d104f8b43f70df55915a8b8d91a19952360080ba | [log] [tgz] |
---|---|---|
author | Andrey Andreev <narf@devilix.net> | Fri Feb 21 19:05:35 2014 +0200 |
committer | Andrey Andreev <narf@devilix.net> | Fri Feb 21 19:05:35 2014 +0200 |
tree | 1ca798f42c237187440bf4478eb46662cfb04da6 | |
parent | e52e42677aa1947fcf4b81b7d58637696d7305c6 [diff] [blame] |
More CI_Lang tests
diff --git a/system/core/Lang.php b/system/core/Lang.php index 9434213..ae0a4d6 100644 --- a/system/core/Lang.php +++ b/system/core/Lang.php
@@ -168,7 +168,7 @@ */ 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)