Преглед изворни кода

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

Antes пре 11 година
родитељ
комит
324464a3c2
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});~', 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;
 	}