Support #518
Ban Protest issue
| Status: | Resolved | Start: | 11/07/2008 | |
| Priority: | Normal | Due date: | ||
| Assigned to: | Jannik Hartung | % Done: | 100% |
|
| Category: | Web Panel | |||
| Target version: | 1.3.1 | |||
Description
I have installed SB on our server and set it up, and we have been using it for a couple of weeks now. But since there is no real easy way to test the "protest" function on the webpage, this issue didn't come up until now.
I set up SB exactly how your website said to, and I did not modify any SQL scripting. However now when I go to "admin panel" and click "bans", this error shows at the top of the page (see attached screenshot).
How do I fix this? And I assume this is the reason why protests supposedly aren't working correctly, so will fixing this issue resolve the one with protests as well?
Thanks for your help.
History
Updated by Jannik Hartung 58 days ago
- Status changed from New to Resolved
- Assigned to set to Jannik Hartung
- Target version set to 1.3.1
- % Done changed from 0 to 100
This is just a problem in the release. The SVN is fixed already.
It's a typo in /pages/admin.bans.php.
search for
$acnt = count($delete);
and replace the line below with
$GLOBALS['db']->Execute("DELETE FROM ".DB_PREFIX."_protests WHERE bid IN($ids) limit $acnt");
notice the "a" at the end of the query...