Comment 7 for bug 787123

Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

Reviewed: https://reviews.mahara.org/294
Committed: http://gitorious.org/mahara/mahara/commit/9ca6bb553673486287bba8000e18c7027b8ad13f
Submitter: Richard Mansfield (<email address hidden>)
Branch: master

commit 9ca6bb553673486287bba8000e18c7027b8ad13f
Author: Richard Mansfield <email address hidden>
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 address hidden>