From 078c94720da5765762f2b2ad0b0648b0219d761e Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Sat, 16 Sep 2006 05:04:31 +0000 Subject: [PATCH] r1141: The HTML lang attribs weren't being populated right --- docs/changes.txt | 1 + includes/init.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/changes.txt b/docs/changes.txt index 6d28bd9..be54edc 100644 --- a/docs/changes.txt +++ b/docs/changes.txt @@ -3,6 +3,7 @@ - Fixed many problems with install/install.php - Changed array casting instances to is_array() checks, which are better - Made some of the email notifications better-worded +- Fix the correct stylevar for language codes 1.1.0 Beta 2 ================== diff --git a/includes/init.php b/includes/init.php index 8efee0e..9cf8f4f 100755 --- a/includes/init.php +++ b/includes/init.php @@ -130,7 +130,7 @@ require_once('./includes/language.php'); $language = fetch_user_language(); -$stylevar['lang_code'] = $language['langcode']; +$stylevar['lang'] = $language['langcode']; $stylevar['lang_dir'] = $language['direction']; $stylevar['charset'] = $language['charset']; -- 2.43.5