From 77f9a6d91a73cb22aed50fbc285120312c9ff1b5 Mon Sep 17 00:00:00 2001 From: Joe Hunt Date: Thu, 26 Nov 2009 22:30:41 +0000 Subject: [PATCH] Minor fix --- reporting/includes/header2.inc | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/reporting/includes/header2.inc b/reporting/includes/header2.inc index 386f6d6a..c4cff631 100644 --- a/reporting/includes/header2.inc +++ b/reporting/includes/header2.inc @@ -245,8 +245,6 @@ $ref = get_reference(ST_CUSTDELIVERY, $delivery); if ($ref) $delivery = $ref; - else - continue; } if ($line == "") $line .= "$delivery"; @@ -257,12 +255,12 @@ } elseif ($doctype == 13) { - $ref = $myrow['order_']; + $ref = ""; if ($print_invoice_no == 0) { $ref = get_reference(ST_SALESORDER, $myrow['order_']); if (!$ref) - $ref = ""; + $ref = $myrow['order_']; } $this->TextWrap($col, $this->row, $width, $ref, 'C'); } -- 2.30.2