Closed
Description
I just noticed that when 'key' and 'value' are the same in language files, the Lang class returns the key instead of the existing value.
Line in Language file (/app/lang/en/test.php):
'rabbit' => 'rabbit'
Retrieving the line:
return Lang::get('test.rabbit');
Result:
'test.rabbit'
As if the language key doesn't exists.
Metadata
Metadata
Assignees
Labels
No labels