Hello, guest. We have noticed that you are not registered at this bug tracker. Your experience will be greatly enhanced if you log in. To do so, you first must register by clicking on the Register tab at the top. If you are already registered, you can login at the Login tab.
Syndicate Syndicate Listing Display Search Login/Register
Bug Id ?
Reporter ?
Bugdar / 1.1.5
Status ?
Severity ?
Duplicate Of ?
- none -
Fixed in Revision ?
Mstone ?
Summary ?
Voting against a bug doesn't work
Report Time ?
June 22, 2007 01:34 PM
Assignment ?
Resolution ?
Priority ?
Dependencies ?
- none -
Mstone (old) ?

For: 0 (0%)
Against: 0 (0%)
Total: 0

June 22, 2007 01:34 PM Pvt_Ryan
Bugdar version: 1.1.4

If I vote against a feature / bug it throws an error:
You need to specify whether you want to vote for or against this bug.

Voting for something does work.

June 23, 2007 06:02 AM Robert
I don't have access to the source code repository at the moment, so I'm going to leave this open so I remember to fix it, but the change is simple. Open up vote.php, and find:

$uservote = $bugsys->input_clean('vote', TYPE_UINT);

Replace it with:

$uservote = $bugsys->input_clean('vote', TYPE_INT);

(You're removing the "U" in TYPE_UINT).

Also, I'd recommend upgrading to 1.1.5.

On June 23, 2007 06:05 AM, Robert changed:
June 27, 2007 09:09 AM Robert
This is now checked into the SVN repository.

On June 27, 2007 09:09 AM, Robert changed: