Skip to content

Commit dfe16f0

Browse files
committed
fix same id issue
1 parent 506f30a commit dfe16f0

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tmpl/default.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
*/
1010

1111
defined('_JEXEC') or die;
12-
$id = 0;
12+
$id = uniqid();
1313
?>
1414

1515
<script type="application/ld+json">
@@ -129,6 +129,5 @@
129129
<p class="faq-text"><?php echo $faq->answer; ?></p>
130130
</label>
131131
</div>
132-
<?php $id++;?>
133132
<?php endforeach;?>
134133
</div>

0 commit comments

Comments
 (0)