Ver Fonte

Fix to package manager by @Spuds and @emanuele45
Signed-off-by: Antes <[email protected]>

Antes há 11 anos atrás
pai
commit
324464a3c2
1 ficheiros alterados com 1 adições e 1 exclusões
  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});~', 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;
 	}