prevent convert exception, if image couldn't loaded
This commit is contained in:
parent
68171b86de
commit
33a5dc990a
@ -3,7 +3,10 @@
|
|||||||
[{block name="pdfToping"}]
|
[{block name="pdfToping"}]
|
||||||
<div class="pdf_header_positioning">
|
<div class="pdf_header_positioning">
|
||||||
[{if $showLogo}]
|
[{if $showLogo}]
|
||||||
<img alt="" src="[{$oViewConf->getImageUrl('Elektroversand-Schmidt_Logo_180.jpg')}]">
|
[{assign var="logoUrl" value=$oViewConf->getImageUrl('Elektroversand-Schmidt_Logo_180.jpg')}]
|
||||||
|
[{if $logoUrl}]
|
||||||
|
<img alt="" src="[{$logoUrl}]">
|
||||||
|
[{/if}]
|
||||||
[{/if}]
|
[{/if}]
|
||||||
</div>
|
</div>
|
||||||
[{/block}]
|
[{/block}]
|
Loading…
Reference in New Issue
Block a user