on supprime le timestamp pour le calcul du hash

This commit is contained in:
Christophe 2019-12-20 18:02:48 +01:00
parent 107f1d8b53
commit 7051f24ae9

View file

@ -39,8 +39,7 @@ function inc_blocklog_dist($objet, $id_objet = 0, $num = 0, $chaine = '') {
spip_log($chaine, 'blocklog'); spip_log($chaine, 'blocklog');
} }
$date = date_create(); $chaine .= "|";
$chaine .= "|". date_timestamp_get($date);
$chaine = hash(_BLOCKLOG_ALGO, $chaine); $chaine = hash(_BLOCKLOG_ALGO, $chaine);