Welcome Guest, Not a member yet? Register   Sign In
Could not find the language line """"
#2

[eluser]Michael02[/eluser]
Yes it is a bug, i was just about to post the fix

the current code in core/lang.php
Code:
function line($line = '')
    {
        $line = ($line == '' OR ! isset($this->language[$line])) ? FALSE : $this->language[$line];

        // Because killer robots like unicorns!
        if ($line === FALSE)
        {
            log_message('error', 'Could not find the language line "'.$line.'"');
        }

        return $line;
    }
will never show the line info in your debug files
should be changed to
Code:
function line($input = '')
    {
        $line = ($input == '' OR ! isset($this->language[$input])) ? FALSE : $this->language[$input];

        // Because killer robots like unicorns!
        if ($line === FALSE)
        {
            log_message('error', 'Could not find the language line "'.$input.'"');
        }

        return $line;
    }


Messages In This Thread
Could not find the language line """" - by El Forum - 05-02-2011, 02:49 PM
Could not find the language line """" - by El Forum - 05-02-2011, 05:50 PM
Could not find the language line """" - by El Forum - 05-02-2011, 07:52 PM
Could not find the language line """" - by El Forum - 05-03-2011, 08:40 AM
Could not find the language line """" - by El Forum - 06-14-2011, 07:47 AM
Could not find the language line """" - by El Forum - 06-14-2011, 02:05 PM



Theme © iAndrew 2016 - Forum software by © MyBB