Skip to content
This repository has been archived by the owner on Sep 25, 2021. It is now read-only.

Commit

Permalink
Merge pull request #65 from pani100/patch-3
Browse files Browse the repository at this point in the history
Update datacheck.inc.php
  • Loading branch information
Chris Dickenson committed Oct 15, 2014
2 parents cba135d + 1f7a270 commit e1fd4f9
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion includes/datacheck.inc.php
Expand Up @@ -103,6 +103,7 @@ function CheckSellData()
global $title, $description, $minimum_bid, $with_reserve, $reserve_price, $buy_now, $buy_now_only, $buy_now_price, $payment, $category;
global $atype, $iquantity, $increments, $customincrement, $system, $_SESSION;
global $payments, $num, $nnum, $a_starts, $start_now, $relist;
global $additional_shipping_cost, $shipping_cost;

if (empty($title))
{
Expand Down Expand Up @@ -157,6 +158,17 @@ function CheckSellData()
{
return '061';
}
if (isset($shipping_cost) && !$system->CheckMoney($shipping_cost)) {

return '079';

}
if (isset($additional_shipping_cost) && !$system->CheckMoney($additional_shipping_cost)) {


return '080';

}

$numpay = count($payment);
if ($numpay == 0)
Expand Down Expand Up @@ -277,4 +289,4 @@ function CheckBidData()

return 0;
}
?>
?>

0 comments on commit e1fd4f9

Please sign in to comment.