From cf3902d8ac9942f9c92e304e72746bc946f1d783 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Wed, 27 Aug 2008 20:53:23 -0400 Subject: get language before setting it. darcs-hash:20080828005323-84dde-8f69e1e6115faa544c22436539148dac53ed6f65.gz --- lib/util.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/util.php') diff --git a/lib/util.php b/lib/util.php index e14cc36ac..08930e99a 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)); -- cgit v1.2.3-54-g00ecf