Skip to content
Permalink
Browse files

Merge pull request #53 from ubidzz/patch-5

Paying for multiple items (FIX)
  • Loading branch information...
renlok committed Jul 16, 2014
2 parents 39a14d5 + a4aafa4 commit 621ff73f35861350c292abcf9e5bc9b64dbb8e9b
Showing with 2 additions and 2 deletions.
  1. +2 −2 outstanding.php
@@ -40,7 +40,7 @@
$TOTALAUCTIONS = mysql_result($res, 0, 'COUNT');
$PAGES = ($TOTALAUCTIONS == 0) ? 1 : ceil($TOTALAUCTIONS / $system->SETTINGS['perpage']);
$query = "SELECT w.auction As id, w.id As winid, a.title, a.shipping_cost, w.bid, w.qty, a.shipping_cost_additional, a.shipping FROM " . $DBPrefix . "winners w
$query = "SELECT w.id, w.winner, a.title, a.shipping_cost, w.bid, w.qty, a.shipping_cost_additional, a.shipping FROM " . $DBPrefix . "winners w
LEFT JOIN " . $DBPrefix . "auctions a ON (a.id = w.auction)
WHERE w.paid = 0 AND w.winner = " . $user->user_data['id'] . "
LIMIT " . intval($OFFSET) . "," . $system->SETTINGS['perpage'];
@@ -61,7 +61,7 @@
'BID' => $system->print_money($row['bid'] * $row['qty']),
'TOTAL' => $system->print_money($row['shipping_cost'] + ($row['bid'] * $row['qty']) + ($row['additional_shipping_cost'] * ($row['qty'] - 1))),
'ID' => $row['id'],
'WINID'=> $row['winid'],
'WINID'=> $row['winner'],
'B_NOTITLE' => (empty($row['title']))
));

0 comments on commit 621ff73

Please sign in to comment.
You can’t perform that action at this time.