From 494a87c538c8a5307854689ccf6dc2e7337b7ea6 Mon Sep 17 00:00:00 2001 From: Jared Hancock <jared@osticket.com> Date: Tue, 16 Dec 2014 14:58:29 -0600 Subject: [PATCH] i18n: Fix display of language selection for new templates --- include/staff/template.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/staff/template.inc.php b/include/staff/template.inc.php index 475ac80b5..4f423bb87 100644 --- a/include/staff/template.inc.php +++ b/include/staff/template.inc.php @@ -141,7 +141,7 @@ $info=Format::htmlchars(($errors && $_POST)?$_POST:$info); <?php foreach($langs as $l) { $selected = ($info['lang_id'] == $l['code']) ? 'selected="selected"' : ''; ?> <option value="<?php echo $l['code']; ?>" <?php echo $selected; - ?>><?php echo $l['desc']; ?></option> + ?>><?php echo Internationalization::getLanguageDescription($l['code']); ?></option> <?php } ?> </select> <span class="error">* <?php echo $errors['lang_id']; ?></span> -- GitLab