projects
/
textcart.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
806f14d
)
Default parameter $rate should be 0
author
Joe Hunt
<joe.hunt.consulting@gmail.com>
Mon, 27 Oct 2008 11:02:56 +0000
(11:02 +0000)
committer
Joe Hunt
<joe.hunt.consulting@gmail.com>
Mon, 27 Oct 2008 11:02:56 +0000
(11:02 +0000)
sales/includes/sales_db.inc
patch
|
blob
|
history
diff --git
a/sales/includes/sales_db.inc
b/sales/includes/sales_db.inc
index 1c6f67f648dd4f4321ce20281628e55821cf6d2f..1f5e0f31f7dc93c7e1c126b517566ddcd5769bd4 100644
(file)
--- a/
sales/includes/sales_db.inc
+++ b/
sales/includes/sales_db.inc
@@
-35,7
+35,7
@@
function add_stock_move_customer($type, $stock_id, $trans_id, $location, $date_,
// $amount is in CUSTOMER'S currency
function add_gl_trans_customer($type, $type_no, $date_, $account, $dimension, $dimension2,
- $amount, $customer_id, $err_msg="", $rate)
+ $amount, $customer_id, $err_msg="", $rate
=0
)
{
if ($err_msg == "")
$err_msg = "The customer GL transaction could not be inserted";