mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-03-28 17:42:57 +01:00
fixes #2507 add conditions before trying to display an image in the email
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
<div id="cat_group_info">
|
||||
<h2>{'Informations'|@translate}</h2>
|
||||
{if isset($IMG) && isset($IMG.link) && isset($IMG.src)}
|
||||
<p><a href="{$IMG.link}" class="thumblnk"><img src="{$IMG.src}"></a></p>
|
||||
{/if}
|
||||
<p>{'Hello,'|@translate}</p>
|
||||
<p>{'Discover album:'|@translate} <a href="{$LINK}">{$CAT_NAME}</a></p>
|
||||
<p>{$CPL_CONTENT}</p>
|
||||
|
||||
Reference in New Issue
Block a user