@@ -497,6 +497,7 @@ |
||
| 497 | 497 | * @param string $xml_format The format to use ('atom', 'rss', 'rss2' or empty for plain XML) |
| 498 | 498 | * @param array $forceCdataKeys A list of keys on which to force cdata wrapping (used by mods, maybe) |
| 499 | 499 | * @param array $nsKeys Key-value pairs of namespace prefixes to pass to cdata_parse() (used by mods, maybe) |
| 500 | + * @param string $tag |
|
| 500 | 501 | */ |
| 501 | 502 | function dumpTags($data, $i, $tag = null, $xml_format = '', $forceCdataKeys = array(), $nsKeys = array()) |
| 502 | 503 | { |
@@ -346,7 +346,7 @@ |
||
| 346 | 346 | |
| 347 | 347 | foreach ($xml as $item) |
| 348 | 348 | { |
| 349 | - $link = array_filter($item['content'], function ($e) { return ($e['tag'] == 'link'); }); |
|
| 349 | + $link = array_filter($item['content'], function($e) { return ($e['tag'] == 'link'); }); |
|
| 350 | 350 | $link = array_pop($link); |
| 351 | 351 | |
| 352 | 352 | echo ' |