projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Bug. php 8. nl2br with null parameter in view_sales_order. Fixed.
[fa-stable.git]
/
reporting
/
rep103.php
diff --git
a/reporting/rep103.php
b/reporting/rep103.php
index a93d56062c853ff8ff81a9a1dc818a2fae74de90..9c694becb7a623398a943fe6a8602957fcf64a33 100644
(file)
--- a/
reporting/rep103.php
+++ b/
reporting/rep103.php
@@
-215,7
+215,7
@@
function print_customer_details_listing()
$rep->TextCol(1, 2, _('Price List') . ": " . $myrow['sales_type']);
$rep->TextCol(2, 3, $myrow['br_name']);
$rep->NewLine();
$rep->TextCol(1, 2, _('Price List') . ": " . $myrow['sales_type']);
$rep->TextCol(2, 3, $myrow['br_name']);
$rep->NewLine();
- $adr =
Explode("\n", $myrow['address']
);
+ $adr =
$myrow['address'] != NULL ? Explode("\n", $myrow['address']) : array(
);
if ($myrow['br_post_address'] == '')
$adr2 = Explode("\n", $myrow['br_address']);
else
if ($myrow['br_post_address'] == '')
$adr2 = Explode("\n", $myrow['br_address']);
else
@@
-255,7
+255,7
@@
function print_customer_details_listing()
{
$oldrow = $rep->row;
$rep->NewLine();
{
$oldrow = $rep->row;
$rep->NewLine();
- $rep->TextColLines(1, 2, _("Ge
r
eral Notes:")." ".$myrow['notes'], -2);
+ $rep->TextColLines(1, 2, _("Ge
n
eral Notes:")." ".$myrow['notes'], -2);
$newrow = $rep->row;
$rep->row = $oldrow;
}
$newrow = $rep->row;
$rep->row = $oldrow;
}