First param is a constant not a string
authorkink <kink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Thu, 3 Oct 2002 07:30:28 +0000 (07:30 +0000)
committerkink <kink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Thu, 3 Oct 2002 07:30:28 +0000 (07:30 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3761 7612ce4b-ef26-0410-bec9-ea0150e637f0

plugins/translate/setup.php

index 33f012e1b4e9a9122b6ebcf70764410172037ddb..c01cebcae2c3e92ab5f758786134e75ea54a2aa5 100644 (file)
@@ -60,8 +60,8 @@ function translate_read_form() {
     if (is_int($pos)) {
         $new_body = substr($new_body, 0, $pos);
     }
-                     
-    $trans = get_html_translation_table('HTMLENTITIES');
+
+    $trans = get_html_translation_table(HTML_ENTITIES);
     $trans[' '] = '&nbsp;';
     $trans = array_flip($trans);
     $new_body = strtr($new_body, $trans);