projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Activated strict SQL mode, minor SQL injection fix, fixed _vl() debug helper.
[fa-stable.git]
/
sales
/
view
/
view_sales_order.php
diff --git
a/sales/view/view_sales_order.php
b/sales/view/view_sales_order.php
index 1c3d95b43f68c6d901f8943f48ef35d4ab300289..0e275737eb272169a96bf993a6491c5fc125c99d 100644
(file)
--- a/
sales/view/view_sales_order.php
+++ b/
sales/view/view_sales_order.php
@@
-181,7
+181,7
@@
if ($_GET['trans_type'] != ST_SALESQUOTE)
$credits_total = 0;
- if (get_sales_child_documents(ST_SALESINVOICE, $inv_numbers)) {
+ if (
$result =
get_sales_child_documents(ST_SALESINVOICE, $inv_numbers)) {
$k = 0;
while ($credits_row = db_fetch($result))