projects
/
fa-stable.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
207be3b
)
Wrong test order
author
Joe Hunt
<joe.hunt.consulting@gmail.com>
Mon, 4 Mar 2013 15:04:50 +0000
(16:04 +0100)
committer
Joe Hunt
<joe.hunt.consulting@gmail.com>
Mon, 4 Mar 2013 15:04:50 +0000
(16:04 +0100)
purchasing/includes/po_class.inc
patch
|
blob
|
history
diff --git
a/purchasing/includes/po_class.inc
b/purchasing/includes/po_class.inc
index b767e9ea9261f66e9ee64245c4f9067bae4bd475..a7b9db37c70775b207c20fce5ac2d8996b1e1773 100644
(file)
--- a/
purchasing/includes/po_class.inc
+++ b/
purchasing/includes/po_class.inc
@@
-55,7
+55,7
@@
class purch_order
function add_to_order($line_no, $stock_id, $qty, $item_descr, $price, $uom, $req_del_date, $qty_inv, $qty_recd)
{
- if (
$qty != 0 && isset($qty)
)
+ if (
isset($qty) && $qty != 0
)
{
$this->line_items[$line_no] = new po_line_details($line_no, $stock_id, $item_descr, $qty, $price, $uom,
$req_del_date, $qty_inv, $qty_recd);