Browse Source

First param is a constant not a string

Thijs Kinkhorst 23 years ago
parent
commit
bbb7b42f05
1 changed files with 2 additions and 2 deletions
  1. 2 2
      plugins/translate/setup.php

+ 2 - 2
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);