commit
cc24634cfd
@ -795,6 +795,7 @@ class BlockedLog
|
|||||||
if (empty($conf->global->BLOCKEDLOG_ENTITY_FINGERPRINT)) { // creation of a unique fingerprint
|
if (empty($conf->global->BLOCKEDLOG_ENTITY_FINGERPRINT)) { // creation of a unique fingerprint
|
||||||
|
|
||||||
require_once DOL_DOCUMENT_ROOT.'/core/lib/admin.lib.php';
|
require_once DOL_DOCUMENT_ROOT.'/core/lib/admin.lib.php';
|
||||||
|
require_once DOL_DOCUMENT_ROOT.'/core/lib/security2.lib.php';
|
||||||
|
|
||||||
$fingerprint = dol_hash(print_r($mysoc,true).getRandomPassword(1), '5');
|
$fingerprint = dol_hash(print_r($mysoc,true).getRandomPassword(1), '5');
|
||||||
|
|
||||||
|
|||||||
@ -20,4 +20,4 @@
|
|||||||
ALTER TABLE llx_inventory ADD UNIQUE INDEX uk_inventory_ref (ref, entity);
|
ALTER TABLE llx_inventory ADD UNIQUE INDEX uk_inventory_ref (ref, entity);
|
||||||
|
|
||||||
ALTER TABLE llx_inventory ADD INDEX idx_inventory_tms (tms);
|
ALTER TABLE llx_inventory ADD INDEX idx_inventory_tms (tms);
|
||||||
ALTER TABLE llx_inventory ADD INDEX idx_inventory_datec (datec);
|
ALTER TABLE llx_inventory ADD INDEX idx_inventory_date_creation (date_creation);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user