summaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2014-01-03 17:16:27 +0100
committerAndrey Andreev <narf@devilix.net>2014-01-03 17:16:27 +0100
commitca8ddada43093b537c95c6794049eb2fa673b279 (patch)
tree8d6b63e5644b3a34ddb37842616cccc819a353a5 /system
parentb4c62180ea70fba546aa8fe1813685dd72e4a406 (diff)
Make CI_Lang::line()'s first parameter mandatory (optional doesn't make sense)
Diffstat (limited to 'system')
-rw-r--r--system/core/Lang.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/core/Lang.php b/system/core/Lang.php
index 3236709f2..290b38bea 100644
--- a/system/core/Lang.php
+++ b/system/core/Lang.php
@@ -166,7 +166,7 @@ class CI_Lang {
* @param bool $log_errors Whether to log an error message if the line is not found
* @return string Translation
*/
- public function line($line = '', $log_errors = TRUE)
+ public function line($line, $log_errors = TRUE)
{
$value = ($line === '' OR ! isset($this->language[$line])) ? FALSE : $this->language[$line];