Attempt to unbreak Potlatch.
This commit is contained in:
parent
cc9a9ee399
commit
a35b194330
1 changed files with 1 additions and 1 deletions
|
@ -249,7 +249,7 @@ class AmfController < ApplicationController
|
|||
en = YAML::load(File.open("#{RAILS_ROOT}/config/potlatch/locales/en.yml"))["en"]
|
||||
|
||||
if lang == 'en'
|
||||
return [real_lang, en]
|
||||
return [loaded_lang, en]
|
||||
else
|
||||
# Use English as a fallback
|
||||
begin
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue