diff options
author | Evan Prodromou <evan@prodromou.name> | 2008-08-27 20:53:23 -0400 |
---|---|---|
committer | Evan Prodromou <evan@prodromou.name> | 2008-08-27 20:53:23 -0400 |
commit | cf3902d8ac9942f9c92e304e72746bc946f1d783 (patch) | |
tree | 52d7d678ddb8553a4dc586e3913a3325f520e030 /lib | |
parent | f3dc863d8fd7ad7da3a8539dabb5b8d5ba5e84b4 (diff) |
get language before setting it.
darcs-hash:20080828005323-84dde-8f69e1e6115faa544c22436539148dac53ed6f65.gz
Diffstat (limited to 'lib')
-rw-r--r-- | lib/util.php | 2 |
1 files changed, 2 insertions, 0 deletions
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)); |