Skip to content

Commit

Permalink
php 8 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
plegall committed Mar 14, 2024
1 parent 451bb01 commit f08dd1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion template/contact_form.tpl
Expand Up @@ -43,7 +43,7 @@
{$contact.author}
<input type="hidden" name="author" value="{$contact.author|escape:html}">
{else}
<input type="text" name="author" id="author" size="40" value="{$contact.author|escape:html}">
<input type="text" name="author" id="author" size="40" value="{if isset($contact.author)}{$contact.author|escape:html}{/if}">
{/if}
</td>
</tr>
Expand Down

0 comments on commit f08dd1d

Please sign in to comment.