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:
75b7595
)
Wrong number of parameters in document invoice in reporting.inc
author
Joe
<unknown>
Sun, 15 Feb 2015 07:49:41 +0000
(08:49 +0100)
committer
Joe
<unknown>
Sun, 15 Feb 2015 07:49:41 +0000
(08:49 +0100)
reporting/includes/reporting.inc
patch
|
blob
|
history
diff --git
a/reporting/includes/reporting.inc
b/reporting/includes/reporting.inc
index 707bb172f4923d6ea97fe8b85900767706474ffe..114696c38645fc1e41b3422447227905002db1ed 100644
(file)
--- a/
reporting/includes/reporting.inc
+++ b/
reporting/includes/reporting.inc
@@
-70,7
+70,9
@@
function print_document_link($doc_no, $link_text, $link=true, $type_no,
'PARAM_3' => $email,
'PARAM_4' => '',
'PARAM_5' => '',
- 'PARAM_6' => $def_orientation);
+ 'PARAM_6' => $rep == 107 ? '' : $def_orientation);
+ if ($rep == 107)
+ $ar['PARAM_7'] = $def_orientation;
break;
case ST_PURCHORDER :
$rep = 209;