From: Joe Hunt Date: Sat, 7 Aug 2010 09:44:28 +0000 (+0000) Subject: Bug in inst_lang.php X-Git-Tag: v2.4.2~19^2~717 X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=commitdiff_plain;h=68dee220a91ccf1725fc3ee86c8967457b749ccb;p=fa-stable.git Bug in inst_lang.php --- diff --git a/CHANGELOG.txt b/CHANGELOG.txt index cf4f0cce..96846989 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -24,6 +24,7 @@ $ -> Affected files The value: 'rtl' = false will make the variable as isset. $ /includes/lang/languages.php /includes/session.inc + /admin/inst_lang.php 06-Aug-2010 Janusz Dobrowolski # Fixed page title diff --git a/admin/inst_lang.php b/admin/inst_lang.php index fdcc7f17..4b51795a 100644 --- a/admin/inst_lang.php +++ b/admin/inst_lang.php @@ -204,7 +204,7 @@ function display_language_edit($selected_id) $_POST['code'] = $lang['code']; $_POST['name'] = $lang['name']; $_POST['encoding'] = $lang['encoding']; - if (isset($conn['rtl'])) + if (isset($lang['rtl']) && $lang['rtl'] === true) $_POST['rtl'] = $lang['rtl']; else $_POST['rtl'] = false;