Update html.formticket.class.php

This commit is contained in:
Laurent Destailleur 2021-02-19 18:05:12 +01:00 committed by GitHub
parent 6e7fd67f37
commit 26134930b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -247,7 +247,7 @@ class FormTicket
$doleditor->Create();
print '</td></tr>';
if ($conf->global->MAIN_SECURITY_ENABLECAPTCHA) {
if (!empty($conf->global->MAIN_SECURITY_ENABLECAPTCHA)) {
require_once DOL_DOCUMENT_ROOT.'/core/lib/security2.lib.php';
print '<tr><td class="titlefield"><label for="email"><span class="fieldrequired">'.$langs->trans("SecurityCode").'</span></label></td><td>';
print '<span class="span-icon-security inline-block">';