Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into develop
This commit is contained in:
commit
ba35b405cb
@ -330,7 +330,7 @@ if (!empty($conf->global->TICKET_ENABLE_PUBLIC_INTERFACE)) {
|
|||||||
print '</tr>';
|
print '</tr>';
|
||||||
|
|
||||||
// Auto fill the contact found from email
|
// 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 '<tr class="oddeven"><td>'.$langs->trans("TicketCreateThirdPartyWithContactIfNotExist").'</td>';
|
print '<tr class="oddeven"><td>'.$langs->trans("TicketCreateThirdPartyWithContactIfNotExist").'</td>';
|
||||||
print '<td class="left">';
|
print '<td class="left">';
|
||||||
|
|||||||
@ -401,4 +401,6 @@ ALTER TABLE llx_facture_fourn_det MODIFY COLUMN ref varchar(128);
|
|||||||
|
|
||||||
ALTER TABLE llx_projet ADD COLUMN extraparams varchar(255);
|
ALTER TABLE llx_projet ADD COLUMN extraparams varchar(255);
|
||||||
|
|
||||||
|
DELETE FROM llx_const WHERE name = 'TICKET_CREATE_THIRD_PARTY_WITH_CONTACT_IF_NOT_EXIST';
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -55,7 +55,7 @@ include_once '../../../main.inc.php'; // Load $user and permissions
|
|||||||
|
|
||||||
$action = GETPOST('action', 'aZ09');
|
$action = GETPOST('action', 'aZ09');
|
||||||
$id = GETPOST('id', 'int');
|
$id = GETPOST('id', 'int');
|
||||||
$email = GETPOST('email', 'alphanohtml');
|
$email = GETPOST('email', 'custom', 0, 'FILTER_VALIDATE_EMAIL');
|
||||||
|
|
||||||
if (!isModEnabled('ticket')) {
|
if (!isModEnabled('ticket')) {
|
||||||
httponly_accessforbidden('Module Ticket not enabled');
|
httponly_accessforbidden('Module Ticket not enabled');
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user