Active
Project:
Ubercart Auction
Version:
6.x-1.0
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
12 Mar 2012 at 10:39 UTC
Updated:
12 Mar 2012 at 10:54 UTC
Jump to comment: Most recent file
Hi,
The highest bid does not show on the auction form. The cause is a bug in a query at the nodeapi hook
$highest_bid_data = db_query("SELECT MAX(amount) AS amount, bid, uid FROM {uc_auction_bids} WHERE nid = '%s'" , $node->nid);
// which is a workaround from the start.
Change the query to this
SELECT MAX(amount) AS amount /*, uid, bid */ FROM {uc_auction_bids} WHERE ....
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | patch_1478568.diff | 778 bytes | erlendoos |
Comments
Comment #1
erlendoos commented