Browse Source

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

Antes 11 years ago
parent
commit
324464a3c2
1 changed files with 1 additions and 1 deletions
  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;
 	}