Skip to content

Commit

Permalink
Fixing tabs once again
Browse files Browse the repository at this point in the history
  • Loading branch information
John Bellone committed Aug 21, 2011
1 parent d459b10 commit 9ab9261
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions system/core/Lang.php
Expand Up @@ -98,16 +98,16 @@ function load($langfile = '', $idiom = '', $return = FALSE, $add_suffix = TRUE,

if ($found !== TRUE)
{
if ($fallback == TRUE)
{
log_message('error', 'Unable to load the requested language file: language/'.$idiom.'/'.$langfile);

return $this->load($langfile, "english", $return, FALSE, '', FALSE);
}
else
{
show_error('Unable to load the requested language file: language/'.$idiom.'/'.$langfile);
}
if ($fallback == TRUE)
{
log_message('error', 'Unable to load the requested language file: language/'.$idiom.'/'.$langfile);
return $this->load($langfile, "english", $return, FALSE, '', FALSE);
}
else
{
show_error('Unable to load the requested language file: language/'.$idiom.'/'.$langfile);
}
}
}

Expand Down

0 comments on commit 9ab9261

Please sign in to comment.