diff options
Diffstat (limited to 'pages/rules.inc')
-rw-r--r-- | pages/rules.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pages/rules.inc b/pages/rules.inc index 1238b7d..967a4b4 100644 --- a/pages/rules.inc +++ b/pages/rules.inc @@ -58,7 +58,7 @@ require_once $_SERVER['DOCUMENT_ROOT'] . '/includes/components/header.inc'; ?> - <?php $index = 1; foreach ($rules as $rule): ?> + <?php foreach (array_values($rules) as $index => $rule): $index++; ?> <h4 style="margin-top: 20px;"> <b>Rule <?= $index ?>: <?= str_replace("<", "<", str_replace(">", ">", $rule["name"])) ?></b> <?php if (in_array(false, $rule["approved"])): ?> |