WeBid Bug Tracking

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000064WeBidBiddingpublic2009-09-24 05:032009-09-24 13:26
Reporterptrubey 
Assigned To 
Priority@0@SeverityminorReproducibilityhave not tried
StatusresolvedResolutionfixed 
PlatformOSOS Version
Product Version0.8.1 
Target VersionFixed in Version0.8.2 
Summary0000064: Proxy bid not being recorded properly
DescriptionIn bid.php, there is a logic bug in the situation where proxy bidding is enabled. As currently coded, if you are not the current winning bidder, and you bid a new amount that is higher than the minimum amount plus minimum bid increment to win the auction, the proxybid table will be populated only with that minimum amount to win the auction, not the actual amount you bid.



Anyways, here's the code change:



Replace:



                    $query = "INSERT INTO " . $DBPrefix . "proxybid VALUES (" . $id . ", " . $bidder_id . ", " . floatval($next_bid) . ")";

        

with:



            $query = "INSERT INTO " . $DBPrefix . "proxybid VALUES (" . $id . ", " . $bidder_id . ", " . floatval($bid) . ")";





this is around line 273 of bid.php. To fix the bug, replace '$next_bid' with '$bid'.
TagsNo tags attached.
import_id64
Thread
Attached Files

- Relationships

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2015-04-01 13:17 renlok New Issue
2015-04-01 13:17 renlok import_id => 64
2015-04-01 13:17 renlok Date Submitted 2015-04-01 13:17 => 2009-09-24 05:03
2015-04-01 13:17 renlok Last Update 2015-04-01 13:17 => 2009-09-24 13:26


Copyright © 2000 - 2019 MantisBT Team
Powered by Mantis Bugtracker