projects
/
textcart.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4e4bdec
)
FA tried to print logo for new clients even if it doesn't exist.
author
Joe Hunt
<joe.hunt.consulting@gmail.com>
Wed, 19 Oct 2011 07:25:57 +0000
(09:25 +0200)
committer
Joe Hunt
<joe.hunt.consulting@gmail.com>
Wed, 19 Oct 2011 07:25:57 +0000
(09:25 +0200)
reporting/includes/header2.inc
patch
|
blob
|
history
diff --git
a/reporting/includes/header2.inc
b/reporting/includes/header2.inc
index 19f31d46c14542bfff0b3a5a2e13a7b3bc4f6607..3ecc468e34f964fe315fb2dee4ad6702cc6c4bb0 100644
(file)
--- 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