Skip to content

Commit f39ab24

Browse files
author
Kristan Kenney
authored
[UI] Fix "No IPset lists defined" even when lists are defined (hestiacp#3812)
1 parent eab1d57 commit f39ab24

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

web/templates/pages/list_firewall_ipset.php

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,11 @@
4343
</div>
4444

4545
<!-- Begin firewall IP address list item loop -->
46-
<?php foreach ($data as $key => $value) {
47-
$listname = $key; ?>
46+
<?php
47+
foreach ($data as $key => $value) {
48+
++$i;
49+
$listname = $key;
50+
?>
4851
<div class="units-table-row animate__animated animate__fadeIn js-unit">
4952
<div class="units-table-cell">
5053
<div>

0 commit comments

Comments
 (0)