Undefined variable in mw.getRecentPosts
|Reported by:||maxcutler||Owned by:||nacin|
The $struct variable is not defined before being used in mw_getRecentPosts method.
The first reference is within a for loop, and then it is referenced again outside of the for loop, where it is technically undefined. While PHP figures out the intended behavior, this is invalid code and generates notices.