Listing Display
Bug Id ?
84
Reporter ?
Pvt_Ryan
Product/Version ?
Bugdar / 1.1.5
Status ?
Closed
Severity ?
Minor
Duplicate Of ?
- none -
Fixed in Revision ?
1560
Mstone ?
Summary ?
Voting against a bug doesn't work
Report Time ?
June 22, 2007 12:34 PM
Assignment ?
Robert
Resolution ?
Fixed
Priority ?
Normal
Dependencies ?
- none -
Mstone (old) ?


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

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

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

Voting for something does work.

June 23, 2007 05: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 05:05 AM, Robert changed:
June 27, 2007 08:09 AM Robert
This is now checked into the SVN repository.

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