From: Evan Prodromou Date: Thu, 28 Aug 2008 00:53:23 +0000 (-0400) Subject: get language before setting it. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=cf3902d8ac9942f9c92e304e72746bc946f1d783;p=quix0rs-gnu-social.git get language before setting it. darcs-hash:20080828005323-84dde-8f69e1e6115faa544c22436539148dac53ed6f65.gz --- diff --git a/lib/util.php b/lib/util.php index e14cc36ace..08930e99a7 100644 --- a/lib/util.php +++ b/lib/util.php @@ -173,6 +173,8 @@ function common_show_header($pagetitle, $callable=NULL, $data=NULL, $headercall= # FIXME: correct language for interface + $language = common_language(); + common_element_start('html', array('xmlns' => 'http://www.w3.org/1999/xhtml', 'xml:lang' => $language, 'lang' => $language));