From: kink Date: Thu, 3 Oct 2002 07:30:28 +0000 (+0000) Subject: First param is a constant not a string X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=commitdiff_plain;h=dec2dcf123599fb4cf235e4d2d0df93cb7128b0b First param is a constant not a string git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3761 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- diff --git a/plugins/translate/setup.php b/plugins/translate/setup.php index 33f012e1..c01cebca 100644 --- a/plugins/translate/setup.php +++ b/plugins/translate/setup.php @@ -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[' '] = ' '; $trans = array_flip($trans); $new_body = strtr($new_body, $trans);