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.
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.
$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:
- Status from "Unconfirmed" to "Confirmed"
June 27, 2007 08:09 AM
Robert
This is now checked into the SVN repository.
On June 27, 2007 08:09 AM, Robert changed:
- Status from "Confirmed" to "Closed"
- Resolution from "Open" to "Fixed"
- Fixed in Revision from "" to "1560"