Bug #441

Http::SetLanguage doesn't work

Added by Jan DolinĂ¡r almost 7 years ago. Updated almost 7 years ago.

Status:ApprovedStart date:02/09/2013
Priority:NormalDue date:
Assignee:Miroslav Fidler% Done:

100%

Category:SkylarkSpent time:-
Target version:-

Description

There is a typo in Http::SetLanguage that prevent setting the desired language:

--- upp-production/uppsrc/Skylark/Session.cpp   (revision 5771)
+++ upp-production/uppsrc/Skylark/Session.cpp   (working copy)
@@ -177,7 +177,7 @@

 Http& Http::SetLanguage(int lang_)
 {
-       Renderer::SetLanguage(lang);
+       Renderer::SetLanguage(lang_);
        Upp::SetLanguage(lang_);
        SessionSet("__lang__", lang);
        SessionSet("language", ToLower(LNGAsText(lang)));

History

#1 Updated by Miroslav Fidler almost 7 years ago

  • Status changed from Patch ready to Approved

Also available in: Atom PDF