diff options
author | Neil Drumm <drumm@3064.no-reply.drupal.org> | 2006-11-27 01:17:01 +0000 |
---|---|---|
committer | Neil Drumm <drumm@3064.no-reply.drupal.org> | 2006-11-27 01:17:01 +0000 |
commit | 3477fb5f6e6bbcbf2210af3ca3de94b8d9faca29 (patch) | |
tree | 3ec77ab91777a343b215193220296c5cc1b517f7 | |
parent | b8127a29c56143337a292d20d79be40101a1f869 (diff) | |
download | brdo-3477fb5f6e6bbcbf2210af3ca3de94b8d9faca29.tar.gz brdo-3477fb5f6e6bbcbf2210af3ca3de94b8d9faca29.tar.bz2 |
#97640 by imagine. Don't encode & in translated strings.
-rw-r--r-- | includes/locale.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/locale.inc b/includes/locale.inc index bb2136ccf..44c94d3a1 100644 --- a/includes/locale.inc +++ b/includes/locale.inc @@ -422,7 +422,7 @@ function _locale_string_edit($lid) { function _locale_string_edit_submit($form_id, $form_values) { $lid = $form_values['lid']; foreach ($form_values['translations'] as $key => $value) { - $value = filter_xss_admin($value); + $value = str_replace('&', '&', filter_xss_admin($value)); $trans = db_fetch_object(db_query("SELECT translation FROM {locales_target} WHERE lid = %d AND locale = '%s'", $lid, $key)); if (isset($trans->translation)) { db_query("UPDATE {locales_target} SET translation = '%s' WHERE lid = %d AND locale = '%s'", $value, $lid, $key); |