on supprime le timestamp pour le calcul du hash
This commit is contained in:
parent
107f1d8b53
commit
7051f24ae9
1 changed files with 1 additions and 2 deletions
|
@ -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);
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue