View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0000124 | XMB1 | Bugs | public | 2008-08-17 02:44 | 2008-08-22 03:39 |
| Reporter | miqrogroove | Assigned To | miqrogroove | ||
| Priority | normal | Severity | minor | Reproducibility | sometimes |
| Status | closed | Resolution | fixed | ||
| Product Version | 1.9.10 | ||||
| Target Version | 1.9.11 | Fixed in Version | 1.9.11 | ||
| Summary | 0000124: forum.moderator Index Missing in Several Calls | ||||
| Description | Another 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. | ||||
| Tags | No tags attached. | ||||
| MySQL Version | |||||
| PHP Version | |||||
| Web Server | |||||
| Browser | |||||
| Flags | |||||
| Original Reporter | |||||
| SVN Revision | 1252 | ||||
| Git Commit | |||||
|
|
I've patched all of the obvious scenarios. There are probably more but they would be very hard to find. |
| 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 |