From: Joe Hunt Date: Wed, 19 Oct 2011 07:25:57 +0000 (+0200) Subject: FA tried to print logo for new clients even if it doesn't exist. X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=commitdiff_plain;h=0c95e9ecd148c3eb7cdb4c973f29926c8200577e;p=textcart.git FA tried to print logo for new clients even if it doesn't exist. --- diff --git a/reporting/includes/header2.inc b/reporting/includes/header2.inc index 19f31d4..3ecc468 100644 --- a/reporting/includes/header2.inc +++ b/reporting/includes/header2.inc @@ -66,9 +66,9 @@ // Company Logo $this->NewLine(); - if ($this->company['coy_logo'] != '') + $logo = company_path() . "/images/" . $this->company['coy_logo']; + if ($this->company['coy_logo'] != '' && file_exists($logo)) { - $logo = company_path() . "/images/" . $this->company['coy_logo']; $this->AddImage($logo, $ccol, $this->row, 0, 40); } else