From: Mark A. Hershberger Date: Fri, 8 Jan 2010 08:55:00 +0000 (+0000) Subject: follow-up 60833 X-Git-Tag: 1.31.0-rc.0~38352 X-Git-Url: https://git.cyclocoop.org/%27.%24link.%27?a=commitdiff_plain;h=4c2b354e1e9bf15c2a088dc6732316173f1978da;p=lhc%2Fweb%2Fwiklou.git follow-up 60833 because I'm an idiot. --- diff --git a/includes/SkinTemplate.php b/includes/SkinTemplate.php index 429e535525..9127d3ee31 100644 --- a/includes/SkinTemplate.php +++ b/includes/SkinTemplate.php @@ -313,7 +313,7 @@ class SkinTemplate extends Skin { $lang = $wgLang->getCode(); $dir = $wgLang->getDir(); - if ( $code !== $wgContLang->getCode() || $dir !== $wgContLang->getDir() ) { + if ( $lang !== $wgContLang->getCode() || $dir !== $wgContLang->getDir() ) { $attrs = "lang='$lang' xml:lang='$lang' dir='$dir'"; $tpl->set( 'userlangattributes', $attrs );