diff --git a/htdocs/admin/ticket_public.php b/htdocs/admin/ticket_public.php index a1bf95d819f..1f32fec97aa 100644 --- a/htdocs/admin/ticket_public.php +++ b/htdocs/admin/ticket_public.php @@ -330,7 +330,7 @@ if (!empty($conf->global->TICKET_ENABLE_PUBLIC_INTERFACE)) { print ''; // Auto fill the contact found from email - // This option is a serious security hole. it allowe to any non looged perso, to get the database of contacts + // This option is a serious security hole. it allows to any non logged perso, to get the database of contacts or to check if an email is a customer or not. We must keep it as hidden option only. /* print ''.$langs->trans("TicketCreateThirdPartyWithContactIfNotExist").''; print ''; diff --git a/htdocs/install/mysql/migration/16.0.0-17.0.0.sql b/htdocs/install/mysql/migration/16.0.0-17.0.0.sql index a1e24fa6d2c..20a9d7b097f 100644 --- a/htdocs/install/mysql/migration/16.0.0-17.0.0.sql +++ b/htdocs/install/mysql/migration/16.0.0-17.0.0.sql @@ -401,4 +401,6 @@ ALTER TABLE llx_facture_fourn_det MODIFY COLUMN ref varchar(128); ALTER TABLE llx_projet ADD COLUMN extraparams varchar(255); +DELETE FROM llx_const WHERE name = 'TICKET_CREATE_THIRD_PARTY_WITH_CONTACT_IF_NOT_EXIST'; +