gnucash-htdocs beta: Fix typo

John Ralls jralls at code.gnucash.org
Sat Apr 1 16:53:07 EDT 2023


Updated	 via  https://github.com/Gnucash/gnucash-htdocs/commit/6313c61b (commit)
	from  https://github.com/Gnucash/gnucash-htdocs/commit/94fa9dbc (commit)



commit 6313c61bbfc616c2cda294518e88665b72c5f3f2
Author: John Ralls <jralls at ceridwen.us>
Date:   Sat Apr 1 13:52:59 2023 -0700

    Fix typo

diff --git a/lang.php b/lang.php
index 8d4896d..3afdc92 100644
--- a/lang.php
+++ b/lang.php
@@ -66,7 +66,7 @@ if ($locale == "") {
     {
         # tolower() => remove space => '-' -> '_'
         # "fr-ch;q=0.3, en, zh-cn;q=0.7" => "fr_ch;q=0.3,en,zh_cn;q=0.7"
-        $accept_language = filter_input(INPUT_SERVER, 'HTTP_ACCEPT_LANGUAGE', FILTER_SANITZE_STRING);
+        $accept_language = filter_input(INPUT_SERVER, 'HTTP_ACCEPT_LANGUAGE', FILTER_SANITIZE_STRING);
         $languages = str_replace('-','_', str_replace(' ', '', strtolower($accept_language)));
         $languages = explode(",", $languages);
         foreach ($languages as $item)



Summary of changes:
 lang.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)



More information about the gnucash-changes mailing list