X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=reporting%2Fincludes%2Fheader2.inc;h=341788040cbf1e052ea78f6d12e89f7573452328;hb=59840905a38c4e08e5b13fdb7af71ea6dea7b1f0;hp=07c73f9677db6c49c496e9dfc1d5a540ab76279e;hpb=13aa48ccc9265df336a1805d2e4709365f19c956;p=fa-stable.git diff --git a/reporting/includes/header2.inc b/reporting/includes/header2.inc index 07c73f96..34178804 100644 --- a/reporting/includes/header2.inc +++ b/reporting/includes/header2.inc @@ -148,7 +148,7 @@ // 2008-06-16. Added customer's reference $this->NewLine(); $this->Text($ccol, $doc_Customers_Ref, $ccol2); - if ($sales_order != NULL) + if (isset($sales_order["customer_ref"])) $this->Text($ccol2, $sales_order["customer_ref"], $mcol); $locale = $path_to_root . "lang/" . $_SESSION['language']->code . "/locale.inc"; if (file_exists($locale))