summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pages/wot/9.php6
1 files changed, 1 insertions, 5 deletions
diff --git a/pages/wot/9.php b/pages/wot/9.php
index 94523f2..a8b9413 100644
--- a/pages/wot/9.php
+++ b/pages/wot/9.php
@@ -49,11 +49,7 @@
<? if($userlang != "") { ?>
<tr>
<td class="DataTD"><?=_("Language")?>:</td>
- <?
- $parts = explode("_", $userlang ,2);
- $printlang = strtolower($parts[0]);
- ?>
- <td class="DataTD" align="left"><? printf(_("%s prefers to be contacted in %s"), sanitizeHTML($user['fname']), L10n::$translations[$printlang]) ?></td>
+ <td class="DataTD" align="left"><? printf(_("%s prefers to be contacted in %s"), sanitizeHTML($user['fname']), L10n::$translations[$userlang]) ?></td>
</tr>
<? } ?>
<?