瀏覽代碼

A tiny typo

Signed-off-by: jdarwood007 <[email protected]>
jdarwood007 10 年之前
父節點
當前提交
73a415cb15
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Sources/Class-Package.php

+ 1 - 1
Sources/Class-Package.php

@@ -612,7 +612,7 @@ class xmlArray
 		$trans_tbl = array_flip(get_html_translation_table(HTML_ENTITIES, ENT_QUOTES));
 
 		// Translate all the entities out.
-		$data = strtr(preg_replace_callback('~&#(\d{1,4});~e', create_function('$m', 'return chr("\$m[1]");'), $data), $trans_tbl);
+		$data = strtr(preg_replace_callback('~&#(\d{1,4});~', create_function('$m', 'return chr("\$m[1]");'), $data), $trans_tbl);
 
 		return $this->trim ? trim($data) : $data;
 	}