Index: trunk/extensions/BoardVote/BoardVote.php |
— | — | @@ -57,6 +57,8 @@ |
58 | 58 | if ( isset( $_SESSION['bvLang'] ) && !isset( $_REQUEST['uselang'] ) ) { |
59 | 59 | wfDebug( __METHOD__.": Setting user language to {$_SESSION['bvLang']}\n" ); |
60 | 60 | $_REQUEST['uselang'] = $_SESSION['bvLang']; |
| 61 | + global $wgLang; |
| 62 | + $wgLang = Language::factory( $_SESSION['bvLang'] ); |
61 | 63 | } |
62 | 64 | } |
63 | 65 | |