prevent convert exception, if image couldn't loaded
This commit is contained in:
parent
ccb8ffe403
commit
8affd5e4ae
@ -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