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 ?
84
Reporter ?
Pvt_Ryan
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 ?
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: