From a72124049e65ec85649f27b95cfc06cdc240f9d0 Mon Sep 17 00:00:00 2001 From: Wytze van der Raay Date: Tue, 14 May 2013 09:02:49 +0000 Subject: [PATCH] Fix for https://bugs.cacert.org/view.php?id=1124 "Selection of additional languages, sorting is somewhat strange" --- pages/account/41.php | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/pages/account/41.php b/pages/account/41.php index 4ea9b10..d61d8db 100644 --- a/pages/account/41.php +++ b/pages/account/41.php @@ -73,8 +73,12 @@ require_once($_SESSION['_config']['filepath'].'/includes/lib/l10n.php'); $res = mysql_query($query); while($row = mysql_fetch_assoc($res)) { - echo "\n"; + printf("\n", + sanitizeHTML($row['locale']), + sanitizeHTML($row['locale']), + $row['lang'], + $row['country'] + ); } ?>