Skip to content

Commit

Permalink
Merge pull request #356 from dumith-eranga/fix/report-html-violation-…
Browse files Browse the repository at this point in the history
…bloc-toggle

fix for repeating bloc-ids
  • Loading branch information
UFOMelkor authored Jul 9, 2018
2 parents cc925d2 + 56410fe commit 65f588c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Hal/Report/Html/template/violations.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
<tbody>
<?php foreach ($classes as $class) {
if (sizeof($class['violations']) > 0) {
$currentId = 'bloc-' . uniqid();
$currentId = 'bloc-' . uniqid('', true);
?>

<tr>
Expand Down Expand Up @@ -158,4 +158,4 @@ function toggle(id) {
}
}
</script>
<?php require __DIR__ . '/_footer.php'; ?>
<?php require __DIR__ . '/_footer.php'; ?>

0 comments on commit 65f588c

Please sign in to comment.