From 56410feee2181f447ea1254c9584268e847e9871 Mon Sep 17 00:00:00 2001 From: dumith-eranga Date: Wed, 13 Jun 2018 17:06:16 +0530 Subject: [PATCH] fix for repeating bloc-ids Same bloc-id is generated across multiple classes in the violations report. --- src/Hal/Report/Html/template/violations.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Hal/Report/Html/template/violations.php b/src/Hal/Report/Html/template/violations.php index 3d49850c..9508977f 100644 --- a/src/Hal/Report/Html/template/violations.php +++ b/src/Hal/Report/Html/template/violations.php @@ -57,7 +57,7 @@ 0) { - $currentId = 'bloc-' . uniqid(); + $currentId = 'bloc-' . uniqid('', true); ?> @@ -107,4 +107,4 @@ function toggle(id) { } } - \ No newline at end of file +