From f4fc735c615d62f4f97d810835e28fb19f749ef4 Mon Sep 17 00:00:00 2001
From: Kirill Krasnov <krasnovforum@gmail.com>
Date: Mon, 22 Nov 2010 11:46:03 +0200
Subject: [PATCH] =?UTF-8?q?Fix=20inclorrect=20code=20when=20translation=20string=20user=20tag-chars=20such=20Russian=20<=D0=9C=D0=B5=D1=82=D0=BA=D0=B8>?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 core/print_api.php |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/core/print_api.php b/core/print_api.php
index 4137ab5..69b6c38 100644
--- a/core/print_api.php
+++ b/core/print_api.php
@@ -343,7 +343,7 @@ function print_tag_input( $p_bug_id = 0, $p_string = '' ) {
 function print_tag_option_list( $p_bug_id = 0 ) {
 	$t_rows = tag_get_candidates_for_bug( $p_bug_id );
 
-	echo '<option value="0">', lang_get( 'tag_existing' ), '</option>';
+	echo '<option value="0">', string_html_specialchars( lang_get( 'tag_existing' ) ), '</option>';
 	foreach ( $t_rows as $row ) {
 		$t_string = $row['name'];
 		if ( !empty( $row['description'] ) ) {
-- 
1.7.4.msysgit.0

