浏览代码

First param is a constant not a string

Thijs Kinkhorst 23 年之前
父节点
当前提交
bbb7b42f05
共有 1 个文件被更改,包括 2 次插入2 次删除
  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);