correction dans la generation du blockchaine

This commit is contained in:
Christophe 2019-12-18 08:54:35 +01:00
parent f7d11e5939
commit a7eb96b3a4

View file

@ -29,7 +29,8 @@ function inc_blocklog_dist($objet, $id_objet, $num, $chaine) {
$chaine = hash(_BACKLOG_ALGO, $chaine);
$blockchaine = sql_getfetsel('blockchaine', 'spip_blocklogs',1,'', 'id_blocklog DESC', '1');
$blockchaine .= "|" . $blockchaine;
$blockchaine .= "|" . $chaine;
$blockchaine = hash(_BACKLOG_ALGO, $blockchaine);
$set = array (