add check for oCaptcha

This commit is contained in:
Markus Gärtner 2024-06-25 10:04:06 +02:00
parent ffcfed8ba0
commit 61133da014
2 changed files with 32 additions and 28 deletions

View File

@ -1,4 +1,5 @@
[{assign var="oCaptcha" value=$oView->getCaptcha()}]
[{if $oCaptcha}]
<input type="hidden" name="c_mach" value="[{$oCaptcha->getHash()}]"/>
<div class="form-group verify">
@ -17,3 +18,4 @@
</div>
</div>
</div>
[{/if}]

View File

@ -1,4 +1,5 @@
[{assign var="oCaptcha" value=$oView->getCaptcha()}]
[{if $oCaptcha}]
<input type="hidden" name="c_mach" value="[{$oCaptcha->getHash()}]"/>
<div class="form-group row verify">
@ -17,3 +18,4 @@
</div>
</div>
</div>
[{/if}]