Selaa lähdekoodia

First param is a constant not a string

Thijs Kinkhorst 23 vuotta sitten
vanhempi
commit
bbb7b42f05
1 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  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);