Explorar el Código

First param is a constant not a string

Thijs Kinkhorst hace 23 años
padre
commit
bbb7b42f05
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  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);