Explorar o código

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

Antes %!s(int64=11) %!d(string=hai) anos
pai
achega
324464a3c2
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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;
 	}