← Back to team overview

mahara-contributors team mailing list archive

[Bug 787123] A change has been merged

 

Reviewed:  https://reviews.mahara.org/294
Committed: http://gitorious.org/mahara/mahara/commit/9ca6bb553673486287bba8000e18c7027b8ad13f
Submitter: Richard Mansfield (richardm@xxxxxxxxxx)
Branch:    master

commit 9ca6bb553673486287bba8000e18c7027b8ad13f
Author: Richard Mansfield <richard.mansfield@xxxxxxxxxxxxxxx>
Date:   Wed Jun 8 09:56:57 2011 +1200

    Reset the site language immediately after config is loaded (bug #787123)
    
    Because the $lang variable is declared as static in current_language(), a
    call to get_string in the sanity checks can set the language for the
    entire request, even before the site language has been read in from the
    config table.  This ensures the language is reset immediately after config
    has been read.
    
    Change-Id: Ic81dfaedd70de75d93a6d38dd89915eeabcccd6e
    Signed-off-by: Richard Mansfield <richard.mansfield@xxxxxxxxxxxxxxx>

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
https://bugs.launchpad.net/bugs/787123

Title:
   static $lang in mahara.php

Status in Mahara ePortfolio:
  In Progress

Bug description:
  Hi,

  please check if the line with  static $lang around line 821 or 925
  prevents that language packs are installable?

  I noticed/read this problem in a few German installations.

  Cheers Heinz


References