Reviewed: https://reviews.mahara.org/294 Committed: http://gitorious.org/mahara/mahara/commit/9ca6bb553673486287bba8000e18c7027b8ad13f Submitter: Richard Mansfield ([email protected]) Branch: master
commit 9ca6bb553673486287bba8000e18c7027b8ad13f Author: Richard Mansfield <[email protected]> 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 <[email protected]> -- You received this bug notification because you are a member of Mahara Reviewers, 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 _______________________________________________ Mailing list: https://launchpad.net/~mahara-core Post to : [email protected] Unsubscribe : https://launchpad.net/~mahara-core More help : https://help.launchpad.net/ListHelp

