aboutsummaryrefslogtreecommitdiffstats
path: root/admin/languages_installed.php
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--admin/languages_installed.php8
1 files changed, 2 insertions, 6 deletions
diff --git a/admin/languages_installed.php b/admin/languages_installed.php
index a43883708..2f4c23f30 100644
--- a/admin/languages_installed.php
+++ b/admin/languages_installed.php
@@ -54,13 +54,9 @@ $default_language = get_default_language();
$tpl_languages = array();
-foreach($languages->fs_languages as $language_id => $language_name)
+foreach($languages->fs_languages as $language_id => $language)
{
- $language = array(
- 'id' => $language_id,
- 'name' => $language_name,
- 'u_action' => $base_url.'&language='.$language_id,
- );
+ $language['u_action'] = add_url_params($base_url, array('language' => $language_id));
if (in_array($language_id, array_keys($languages->db_languages)))
{