From: Tom Hughes Date: Thu, 15 Oct 2009 07:40:47 +0000 (+0000) Subject: Attempt to unbreak Potlatch. X-Git-Tag: live~6532 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/a35b1943302dbd2d2b6515b2a712956a88e4e4ce Attempt to unbreak Potlatch. --- diff --git a/app/controllers/amf_controller.rb b/app/controllers/amf_controller.rb index 64abdb257..7df237de8 100644 --- a/app/controllers/amf_controller.rb +++ b/app/controllers/amf_controller.rb @@ -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