diff options
author | Michael Tänzer <neo@nhng.de> | 2014-06-21 19:15:48 +0200 |
---|---|---|
committer | Michael Tänzer <neo@nhng.de> | 2014-06-21 19:15:48 +0200 |
commit | da9630f06ea699f746002a41d167c09a42e7406f (patch) | |
tree | f76876387baf5a3a6ad6db340a3a38d64eb3c6e2 /pages/wot | |
parent | 99f5de02f0204eb8876cbb897389bebceeb71c17 (diff) | |
download | cacert-devel-da9630f06ea699f746002a41d167c09a42e7406f.tar.gz cacert-devel-da9630f06ea699f746002a41d167c09a42e7406f.tar.xz cacert-devel-da9630f06ea699f746002a41d167c09a42e7406f.zip |
bug 1280: Implement normalisation in of language codes in the L10n classbug-1280
and use it (in set_translation() and the Assurer contact form)
Signed-off-by: Michael Tänzer <neo@nhng.de>
Diffstat (limited to 'pages/wot')
-rw-r--r-- | pages/wot/9.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pages/wot/9.php b/pages/wot/9.php index a8b9413..a04793f 100644 --- a/pages/wot/9.php +++ b/pages/wot/9.php @@ -26,7 +26,7 @@ } else { $user = mysql_fetch_array($res); - $userlang = $user['language']; + $userlang = L10n::normalise_translation($user['language']); $points = mysql_num_rows(mysql_query("select sum(`points`) as `total` from `notary` where `to`='".intval($user['id'])."' and `deleted`=0 group by `to` HAVING SUM(`points`) > 0")); if($points <= 0) { |