Explorar o código

First param is a constant not a string

Thijs Kinkhorst %!s(int64=23) %!d(string=hai) anos
pai
achega
bbb7b42f05
Modificáronse 1 ficheiros con 2 adicións e 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);