Completed
Push — release-2.1 ( 43f77f...fe5234 )
by Michael
08:11
created
Sources/News.php 2 patches
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -497,6 +497,7 @@
 block discarded – undo
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
 {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -346,7 +346,7 @@
 block discarded – undo
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 '
Please login to merge, or discard this patch.