[pmwiki-users] feeds.php v2.1.11 Bug or SDVA() Bug

pmwikiusers.mmajor at dfgh.net pmwikiusers.mmajor at dfgh.net
Thu Jul 6 19:08:32 CDT 2006


Line 171 of feeds.php in v2.1.11 reads:

  SDVA($FeedPageListOpt, array());

This is apparently intended to set the default value of $FeedPageList to an empty array.  What actually happens is it leaves the variable uninitialized.

Either change line 171 to:

  SDV($FeedPageListOpt, array());

or change SDVA() so it handles being passed an empty array correctly.

The error message I recieved was:

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in .../scripts/feeds.php on line 193

Steps to recreate the error:

1. Create Main.SiteMap which only contains (:pagelist:)
2. Access pmwiki?n=Main.SiteMap&action=rss&group=-PmWiki,-Site




More information about the pmwiki-users mailing list