Attempt to unbreak Potlatch.

This commit is contained in:
Tom Hughes 2009-10-15 07:40:47 +00:00
parent cc9a9ee399
commit a35b194330

View file

@ -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