View Issue Details

IDProjectCategoryView StatusLast Update
0000124XMB1Bugspublic2008-08-22 03:39
Reportermiqrogroove Assigned Tomiqrogroove  
PrioritynormalSeverityminorReproducibilitysometimes
Status closedResolutionfixed 
Product Version1.9.10 
Target Version1.9.11Fixed in Version1.9.11 
Summary0000124: forum.moderator Index Missing in Several Calls
DescriptionAnother bug brought to you by the wonderful XMB 1.9.9 code base :s It turns out, when passing the $forum array into function checkForumPermissions() the minimum required array indexes are 'postperm', 'userlist', 'password', and 'moderator'. When this was implemented, the authors neglected several queries that don't include forums.* but instead use f.postperm, f.userlist, f.password. The reason this usually doesn't cause an error is that checkForumPermissions() is checking if ($forum['userlist'] != '') before trying to use the 'moderator' index.
TagsNo tags attached.
MySQL Version
PHP Version
Web Server
Browser
Flags
Original Reporter
SVN Revision1252
Git Commit

Activities

miqrogroove

2008-08-17 03:28

administrator   ~0000045

I've patched all of the obvious scenarios. There are probably more but they would be very hard to find.

Issue History

Date Modified Username Field Change
2008-08-17 02:44 miqrogroove New Issue
2008-08-17 03:28 miqrogroove SVN Revision => 1252
2008-08-17 03:28 miqrogroove Note Added: 0000045
2008-08-17 03:28 miqrogroove Status new => resolved
2008-08-17 03:28 miqrogroove Fixed in Version => 1.9.11
2008-08-17 03:28 miqrogroove Resolution open => fixed
2008-08-17 03:28 miqrogroove Assigned To => miqrogroove
2008-08-22 03:39 miqrogroove Status resolved => closed