summaryrefslogtreecommitdiff
path: root/modules/locale/locale.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2003-06-05 21:26:27 +0000
committerDries Buytaert <dries@buytaert.net>2003-06-05 21:26:27 +0000
commit522ed4d64ce7b271cd6cbb6da259361eadda3c40 (patch)
treeb63964605208f9f92415ed31a2e7e95a946dbb31 /modules/locale/locale.module
parentde3b0796d24c05856340d94504c109195b51d71c (diff)
downloadbrdo-522ed4d64ce7b271cd6cbb6da259361eadda3c40.tar.gz
brdo-522ed4d64ce7b271cd6cbb6da259361eadda3c40.tar.bz2
- More charset patches by Al.
Diffstat (limited to 'modules/locale/locale.module')
-rw-r--r--modules/locale/locale.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/locale/locale.module b/modules/locale/locale.module
index 99f374d36..38c0ee681 100644
--- a/modules/locale/locale.module
+++ b/modules/locale/locale.module
@@ -103,7 +103,7 @@ function locale_edit($lid) {
$result = db_query("SELECT * FROM locales WHERE lid = '$lid'");
if ($translation = db_fetch_object($result)) {
- $form .= form_item(t("Original text"), wordwrap(htmlspecialchars($translation->string)));
+ $form .= form_item(t("Original text"), wordwrap(drupal_specialchars($translation->string)));
foreach ($languages as $code=>$language) {
$form .= (strlen($translation->string) > 30) ? form_textarea($language, $code, $translation->$code, 50, 10) : form_textfield($language, $code, $translation->$code, 50, 128);