summaryrefslogtreecommitdiff
path: root/pages/account/41.php
diff options
context:
space:
mode:
authorBenny Baumann <BenBE@geshi.org>2013-03-13 18:39:05 +0100
committerBenny Baumann <BenBE@geshi.org>2013-03-13 18:39:05 +0100
commita61b70984af4b36c8a569f0bb917d974c3b818fa (patch)
tree3cd98ab1aff9c887be4bca21802ebddba3047afd /pages/account/41.php
parent7c5a5b634e1dd9267de4492b3cbea47b139c200f (diff)
parent3c4d3fa9a9bf74090fc5ef86847e0a1b58f5c96f (diff)
downloadcacert-devel-a61b70984af4b36c8a569f0bb917d974c3b818fa.tar.gz
cacert-devel-a61b70984af4b36c8a569f0bb917d974c3b818fa.tar.xz
cacert-devel-a61b70984af4b36c8a569f0bb917d974c3b818fa.zip
Merge branch 'bug-1124' into testserver-stable
Diffstat (limited to 'pages/account/41.php')
-rw-r--r--pages/account/41.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/pages/account/41.php b/pages/account/41.php
index e943093..d61d8db 100644
--- a/pages/account/41.php
+++ b/pages/account/41.php
@@ -69,15 +69,15 @@ require_once($_SESSION['_config']['filepath'].'/includes/lib/l10n.php');
<td class="DataTD"><?=_("Secondary languages")?>:</td>
<td class="DataTD"><select name="addlang">
<?
- $query = "select * from `languages` order by `lang`,`country`";
+ $query = "select * from `languages` order by `locale`";
$res = mysql_query($query);
while($row = mysql_fetch_assoc($res))
{
printf("<option value=\"%s\">[%s] %s (%s)</option>\n",
sanitizeHTML($row['locale']),
sanitizeHTML($row['locale']),
- sanitizeHTML($row['lang']),
- sanitizeHTML($row['country'])
+ $row['lang'],
+ $row['country']
);
}
?>