From 33a5dc990a17f0e0e33c89fca3a2a9740da7f202 Mon Sep 17 00:00:00 2001 From: Daniel Seifert Date: Thu, 4 Jun 2020 10:39:21 +0200 Subject: [PATCH] prevent convert exception, if image couldn't loaded --- Application/views/tpl/documents/inc/header.tpl | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Application/views/tpl/documents/inc/header.tpl b/Application/views/tpl/documents/inc/header.tpl index 9d20cc2..cb26520 100644 --- a/Application/views/tpl/documents/inc/header.tpl +++ b/Application/views/tpl/documents/inc/header.tpl @@ -3,7 +3,10 @@ [{block name="pdfToping"}]
[{if $showLogo}] - + [{assign var="logoUrl" value=$oViewConf->getImageUrl('Elektroversand-Schmidt_Logo_180.jpg')}] + [{if $logoUrl}] + + [{/if}] [{/if}]
[{/block}] \ No newline at end of file