From e7375bdfc81ddd5e3e1ea9e53832aa966f411344 Mon Sep 17 00:00:00 2001 From: Joe Hunt Date: Wed, 19 Oct 2011 09:25:57 +0200 Subject: [PATCH] FA tried to print logo for new clients even if it doesn't exist. --- reporting/includes/header2.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reporting/includes/header2.inc b/reporting/includes/header2.inc index 19f31d46..3ecc468e 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 -- 2.30.2